aspose file tools*
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 Spring in Action this week in the Spring 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: 249

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?