Hi,

I have the following Entity Bean


  | public class E1 implements Serializable
  | {
  |    private String p1;
  | 
  |    .........
  | 
  |    @Transient
  |    public Double getP2()
  |   {
  |    .....
  |   }
  | }
  | 

If I executes the following query:

  |   select o from E1 as o order by o.p2
  | 
I obviously get the following error:

  | org.hibernate.QueryException: could not resolve property: p2
  | 
Question is if I can use transient fields in EJBQL queries and how.

Thank you

Fab.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085936#4085936

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085936
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to