users@glassfish.java.net

Re: EJB Transaction error with Named queries

From: <glassfish_at_javadesktop.org>
Date: Tue, 08 May 2007 08:59:54 PDT

You need to use allias

like select u from investigation u where u.id <> 10

if you cannot use allias i think you should use the other method createQuery (i think thats the name.. not so sure)

hope this help
[Message sent by forum member 'gutierrezge' (gutierrezge)]

http://forums.java.net/jive/thread.jspa?messageID=216016