-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Tomcat and using mySQL, Commons Pool & HibernateUtil.cla
PostPosted: Fri May 14, 2004 3:36 pm 
Beginner
Beginner

Joined: Tue May 11, 2004 10:21 am
Posts: 20
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.