Meaningless Drivel is fun!*
The moose likes Object Relational Mapping and the fly likes How to obtain Session factory? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "How to obtain Session factory?" Watch "How to obtain Session factory?" New topic
Author

How to obtain Session factory?

Pankaj Shet
Ranch Hand

Joined: Sep 08, 2006
Posts: 216

Hi friends,
There are many ways to obtain session factory.
Two of them which I know are Using HibernateUtil and Configuration object.
What are others ways to obtain session factory and which one to use when??
what is the difference between Using HibernateUtil and Using Configuration object?
Thanks and Regards,
-Pankaj

PANKAJ SHET
B.Sc.(I.T.), S.C.J.P., S.C.W.C.D., PGDAC(CDAC)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to obtain Session factory?
 
Similar Threads
where can I find persistence.HibernateUtil
hbm file version working but annotation not
glassfish vs. Hibernate: JNDI configuration
Hibernate made easy book questions
Need help for Many to Many association