users@glassfish.java.net

Re: Can't use JPQL for quering Entities with JPA

From: <glassfish_at_javadesktop.org>
Date: Tue, 07 Apr 2009 13:29:27 PDT

The 2nd option should work. In the 1st option you use Named[b]Native[/b]Query, which means it should be plain SQL.

Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

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