No, even that does not work for two reasons:
1. The JDBC properties to specify connection details are JPA provider
specific and different appservers may be using different JPA providers.
2. Even if you configure different appservers to use the same provider,
JDBC properties are *only* used in Java SE style use of JPA, i.e, if you
creating EMF by calling Persistence.createEntityManagerFactory().
Thanks,
Sahoo
glassfish_at_javadesktop.org wrote:
> So, the only way to use the same persistence.xml file in two application servers is by defining the JDBC connection by vendor specific properties, am I right?
> [Message sent by forum member 'getaceres' (getaceres)]
>
> http://forums.java.net/jive/thread.jspa?messageID=318627
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>