Quantcast
Channel: Nested transaction on Spring - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by Zakaria Bouazza for Nested transaction on Spring

The default advice mode for processing @Transactional annotations is proxy, which allows for interception of calls through the proxy only. Local calls within the same class cannot get intercepted that...

View Article



Answer by brettjonesdev for Nested transaction on Spring

This is not specifically a problem with @Transactional. It is due to the configuration of your <tx:annotation-driven/>. Spring uses two different AOP mechanisms: JDK dynamic proxies or CGLIB. JDK...

View Article

Answer by gabuzo for Nested transaction on Spring

This behavior is the documented behavior of Spring when using the proxy mode for AOP. It can be changed by switching to the aspectj mode which perform code instrumentation either on compilation or at...

View Article

Nested transaction on Spring

I found some strange behavior when using nested Spring transactions: when, in the same class, a method annotated as @Transactional calls another method also annotated as @Transactional the second...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>