Hi,

I have a curious problem defining attributes in queries.

I defined the attributes with different names as the gettermethod.
for example: attribute:mId, getter: getId()] (missing "m").

I get the following exception when defining my querey like this:
javax.ejb.EJBException: javax.persistence.PersistenceException: 
org.hibernate.QueryException: could not resolve property: mId of: 
com.babuco.entity.testdel [from com.babuco.entity.testdel t where t.mId = :id 
and t.mName = :name]
  | 
I can“t find a rule how I have to name the Attributes in my query.




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003586

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to