users@glassfish.java.net

Re: How do I map datasource to JPA Persistence.xml?

From: <glassfish_at_javadesktop.org>
Date: Mon, 21 Jul 2008 18:13:34 PDT

In GlassFish you can have several jdbc-resource entries pointing to the same jdbc-pool (if this solves your problem).

You can also override any of the persistence.xml entries in your annotations or passing an override set of properties to the createEMF() call.

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

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