• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Define : sessionFactory

 
Saumya Nair
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

SessionFactory creates Sessions in hibernate. Threads servicing client requests obtain Sessions from the factory. This is fine, but how can we define sessionFactory ???

Regards,
Saumya
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you just have...

Or do you mean how do we configure a SessionFactory?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic