users@glassfish.java.net

Re: How can i put my jpa/toplink essentials queries in an xml like in IBati

From: <glassfish_at_javadesktop.org>
Date: Fri, 12 Oct 2007 08:57:45 PDT

The JPA can be configured through a combination of 3 mechanisms: reasonable defaults (i.e.Configuration by Convention), annotations within the class, and XML.

So, you can use the XML configuration to store your named queries outside of the annotations if you like. Consult the JPA spec.
[Message sent by forum member 'whartung' (whartung)]

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