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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...