This is saying your User object does not have a "peter" attribute.

I think you want something like:

"from User u where u.name = :name"

and you setParameter("name", "pete").

I assume your User object has an attribute "name" (i.e. User.getName()) and I 
assume your User doesn't have a User.getPeter() :)

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

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

Reply via email to