Does anyone have an example of how to configure resource injection for EntityManagerFactory/PersistenceUnits?

I'm using Hibernate with a JNDI database (MySQL), but any example would be a big help. I think I should be using the <resource> tags of context.xml, but I don't know how to add the Hibernate specific properties, or exactly which JNDI names should be used where (some are described as relative to "java:comp/env"). But as far as I know, I may not even be on the right track.



Anm

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to