This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get session-Factory in hibernate 4  RSS feed

 
Himanshu bisht bebo
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to get SessionFactory object in Hibernate 4 Where I am configuring my Model class For eg Customer with annotation like @ Entity

I want to create a Object of SessionFactory not through the Dependencies Bean


thanks in Advance...
 
John Jai
Rancher
Posts: 1776
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Himanshu,

Please check your private messages for an important administrative matter. This is not optional.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!