1. Hibernate configuration - session factory scanning? stackoverflow.comWe have this hibernate.cfg.xml file. Is there a way to tell Hibernate to just scan a directory instead of having to add an entry here for each class?
|
2. Hibernate: Two SessionFactories per cfg file coderanch.com |
3. Two SessionFactory in single hibernate.cfg.xml coderanch.com |
4. More than SessionFactory in single hibernate.cfg.xml? coderanch.com |
5. Initial SessionFactory creation failed /hibernate.cfg.xml forum.hibernate.orgHi, I am trying to Run my first Hibernate Program using Eclipse and Hibernate 3.2...I have following directory structure: C:\hibernate-3.1\Projects\Source\com\Examples In Examples I have all my Files (.java, .class and .xml) My Hibernate.cfg.xml look like this |
6. can i have two session factory in a single hibernate.cfg.xml forum.hibernate.orgThanks for your reply.. But, is there any way I can use two databases in a single java program using hibernate? I need to write 2 configuration files whcih contains one session factory each and include these two corresponding files in program corresponding to the database i want to use? Is there any other method other than this. Also is it ... |
7. Two SessionFactory in single hibernate.cfg.xml forum.hibernate.org |