I'm trying the Hibernate example with Hibernate and have it working just fine with Tomcat 5.19, commons connection pooling and mySql.
My question is: Is using the HibernateUtil.class the standard and accepted way to use Tomcat with mySql ... or is this just a simple demo not made for a production configuration?
Secondly, The example program uses Cat.class, Cat.hbm.xml which end up in the same directory. I put the hibernate.cfg.xml file in the class directory. Is this the "accepted way".
I'm trying to get off to a good start.
TIA
Tom K.
|