Hi, maybe it's a stupid question, but...
I have defined a JPA persistence unit in an ear like this:
<persistence>
<persistence-unit name="punit">
<jta-data-source>jdbc/ds_name</jta-data-source>
</persistence-unit>
</persistence>
and in Glassfish I added a JDBC resource jdbc/ds_name. But apparantly this is not correct? What's wrong?
In JBoss it simply works if I set <jta-data-source>java:ds_name</jta-data-source> and declare a data source with jndi-name ds_name. But I would really like to use GlassFish. Could somebody shine some light on this situation?
Thanks,
G
[Message sent by forum member 'fmarks' (fmarks)]
http://forums.java.net/jive/thread.jspa?messageID=263040