Reuse Hibernate session in thread

Posted by Marco on Stack Overflow See other posts from Stack Overflow or by Marco
Published on 2010-05-08T11:28:22Z Indexed on 2010/05/08 11:38 UTC
Read the original article Hit count: 164

Filed under:
|
|

Hello,

I've read somewhere that when a session is flushed or a transaction is committed, the session itself is closed by Hibernate. So, how can i reuse an Hibernate Session, in the same thread, that has been previously closed?

Thanks

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about java