Spring: Transaction propagation / readOnly
Hello, I would expose a simple post with 2 examples concerning the propagation of a transaction in the application layers (Spring MVC controller, Manager layer, Service Layer, DAO layer) with the use of Propagation.REQUIRED and the readOnly attribute in the @Transactionnal annotation like: See the official Spring documentation concerning the propagation. TEST n°1: In this 1st test, we will study a simple example with ...more»