I've setup JNDI via a context.xml file for Tomcat 5.5, which works fine when JDBC is used directly (i.e. in the absence of Hibernate). The Hibernate 3.1 configuration and mapping files also work fine in a console application (i.e. without Tomcat 5.5).
Does anyone know of a reasonably complete example of the configuration of Hibernate 3.1 (or any version) with (specifically) Tomcat 5.5 JNDI. Tomcat 5.5 presents a hybrid type of environment - JNDI but no Transaction Manager.
The only information I can find anywhere on the web, including this site, is old (Tomcat 5.0, which had a different configuration), or very fragmentary.
I assume this combination, although I think very under-documented, is definitely a working combination.
Thanks very much.
Bill
|