• 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!