users@glassfish.java.net

Re: Hibernate not working with GlassFish V2 now??

From: <glassfish_at_javadesktop.org>
Date: Mon, 08 Oct 2007 17:15:49 PDT

I deleted the persistence.xml and created a new one with the different provider. The xml is as generated by NetBeans when creating the persistence unit. I have my ear bundled with the hibernate jars when using hibernate.

When I set a target for the resource Hibernate started working. Just funny how it always worked with TopLink and needed this change to get Hibernate to deploy.

S.D.
[Message sent by forum member 'samdoyle' (samdoyle)]

http://forums.java.net/jive/thread.jspa?messageID=239024