I have few questions related to connections and spring transactions.
Does spring use the same connection instance when multiple methods performing DML & DDL operations are executed in a transaction (propagation level REQUIRED)? I have read that it does maintain the same connection but do not know why and how does it do it technically? While explaining how if any hints in the spring source code are provided it would be helpful.
Using Spring Declarative Transactions if I use Serializable as the isolation level, would spring make sure one connection is always used while performing database operations in that method or in any other method called from the original transactional method?
Are there any points I should keep in mind while working with Spring Transactions considering this topic?
Any thoughts/help on this topic would be appreciated. Thanks.
Update 1 - Sorry by mistake I had written serializable propagation level instead of isolation level. Corrected it.