This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to obtain Session factory?  RSS feed

 
Pankaj Shet
Ranch Hand
Posts: 320
Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!