Spring @Transactional Annotation Best Practice
Posted
by Thomas Einwaller
on Stack Overflow
See other posts from Stack Overflow
or by Thomas Einwaller
Published on 2009-07-03T12:20:11Z
Indexed on
2010/05/07
14:48 UTC
Read the original article
Hit count: 211
We are currently discussing the Best Practice for placing the @Transactional annotations in our code.
Do you place the @Transactional in the DAO classes and/or their methods or is it better to annotate the Service classed which are calling using the DAO objects? Or does it make sense to annotate both "layers"?
© Stack Overflow or respective owner