• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get session-Factory in hibernate 4

 
Himanshu bisht bebo
Greenhorn
Posts: 16
  • 0
  • 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
  • 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