tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew n marshall <>
Subject @PersistenceUnit Example
Date Mon, 14 Jul 2008 18:36:15 GMT

Does anyone have an example of how to configure resource injection for 

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.


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message