Look at named-query and named-native-query elements in schema [1] for
orm.xml.
Thanks,
Sahoo
[1]
http://java.sun.com/xml/ns/persistence/orm_1_0.xsd
glassfish_at_javadesktop.org wrote:
> Dear All,
>
> I need to know if i can put my jpa/toplink essentials queries in an xml file like i do in ibatis?
> OR
> Is there any way to write them apart from like annotation in entities and code?
>
> Regards,
> Sarvesh
> [Message sent by forum member 'sarveshsh' (sarveshsh)]
>
> http://forums.java.net/jive/thread.jspa?messageID=239717
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>