1. Enabling Connection pretest in hibernate.cfg.xml coderanch.com |
2. Multiple Database Connections in hibernate.cfg.xml forum.hibernate.orgI'm using Hibernate 3.0 with MySql 4.1. I have created one session-factory in the hibernate.cfg.xml to connect to my database and my code is working. How does my code need to change if I add another session-factory/database connection? I currently am using a class called HibernateUtil (as per the examples) to access the Session, the code is below. So, how do ... |
3. Plugging in a connection. |