views:

49

answers:

1

How to create a new hibernate session at a new thread ? The SessionFacatory was managed by Spring.

+1  A: 

SessionFactory.openSession creates a new session if that is all you need to know. If you need anything more, please elaborate.

Kristoffer E
My dao class extends HibernateDaoSupport,how to bind the new session ?
Diablo.Wu