java - Does a Spring @Transactional annotated method overwrite an @Transactional(readOnly=true) method if called within it? -



java - Does a Spring @Transactional annotated method overwrite an @Transactional(readOnly=true) method if called within it? -

in name of reuse, phone call method annotated @transactional(readonly) within method annotated @transactional exclusive locking.

simply put, overwrite shared locking optimizations used readonly call?

depends on value of propagation set outer transaction. explained in spring documentation:

http://docs.spring.io/spring-framework/docs/4.0.x/spring-framework-reference/html/transaction.html

java spring jpa

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -