If you use Hibernate on Tomcat you don't have to use Tomcat's
JNDI-bound JDBC connections. You can let Hibernate manage the JDBC
connection pool. This works on all versions of Tomcat and is very easy
to configure.First, create a hibernate.cfg.xml or hibernate.properties file, as per documentation (no, property names in cfg.xml don't have to be prefixed with "hibernate.xxx"):
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hi |