I am trying to create a new Java EE project using hibernate and JPA 2.0 on the glass fish server. Can you guys provide me some resources to configure the above so that they work seamlessly? I have tried using netbeans and generated the persistence unit by using the hibernate provider, but I end up getting this error:
javax.persistence.PersistenceException: [PersistenceUnit: DBAppPU] Unable to build EntityManagerFactory
First, install Hibernate support via the update tool (or follow the manual procedure). Second, provide a JPA 2.0
persistence.xmlto use Hibernate as JPA provider:Resources