Spring HibernateTemplate: how it deals with transactions?

Posted by EugeneP on Stack Overflow See other posts from Stack Overflow or by EugeneP
Published on 2010-03-31T14:01:03Z Indexed on 2010/03/31 14:03 UTC
Read the original article Hit count: 479

Filed under:
|
|

Could you explain, what happens behind the scene?

Transaction management when using this template in Spring is absolutely unclear.

What if I invoke 10 DAO methods that all use the same Hibernatetemplate and I invoke them one after another? Every method runs within its own transaction?

It's not effective is not it?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring