This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes How to obtain Session factory? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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: 167

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
glassfish vs. Hibernate: JNDI configuration
hbm file version working but annotation not
where can I find persistence.HibernateUtil
Hibernate made easy book questions
Need help for Many to Many association