From: <glassfish_at_javadesktop.org>
Date: Tue, 24 Aug 2010 12:55:31 PDT
The first question is, do you want to use Hibernate as a JPA persistence provider (so your application works with the javax.persistence API), or do you want to use the native Hibernate API (org.hibernate.*)?
The discussion so far only covers the second case.
You simply configure the connection pool and the JDBC JNDI resource via the Glassfish Admin Console, and then you reference the data source via the JNDI name in your persistence.xml.
Best regards,
Harald
[Message sent by forum member 'hwellmann']