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