When using spring and hibernate, how are sessions/transactions handled?

Posted by Blankman on Stack Overflow See other posts from Stack Overflow or by Blankman
Published on 2010-03-12T20:37:32Z Indexed on 2010/03/12 20:47 UTC
Read the original article Hit count: 185

Filed under:
|
|

when using hibernate with spring, can someone explain how the session unit of work and transactions are handled?

  1. is the transaction started at the beginning of the page request, and committed at the end?
  2. can I have multiple db calls per request, that each have different transaction levels? e.g. some are left as default, while others are read-uncommitted?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring