[jboss-user] [EJB 3.0] - Re: Illegalargumentexception on calling namedquery
auke@noppe.nl
do-not-reply at jboss.com
Mon Jun 9 06:39:50 EDT 2008
this doesn't work either. i'm getting quite frustrated now, because 1 namequery works, but the others don't.
the one that works is:
| @NamedQuery(name = "User.doLogin", query = "SELECT object(u) FROM User u WHERE u.naam = :uname AND u.password = :password")
|
and on the other entities the namedqueries work also.
are you able to get the problem from the stacktrace i posted in the first post?
many thanks!
Auke
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156629#4156629
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156629
More information about the jboss-user
mailing list