Shared EntityManager's target lookup doesn't work with Spring Data's ChainedTransactionManager [SPR-14371] #18944
If we have more than one TransactionManager involved, and If we invoke JmsTransactionManager first, followed by JPATransactionManager then JPATransactionManager is coming as null. which eventually breaks code.
Exact Scenario is explained by Murali Mohan Rath : He raised a related bug at https://jira.spring.io/browse/DATACMNS-803
Because of this issue we were not able to migrate from Spring 4.1.6 to any higher Spring Version
This issue is already raised in #17834. and latest comment from Juergen Hoeller below
As for the target suddenly being null in some scenarios on 4.x, this seems to be a separate issue not caused by the changes behind #17834( #18411). Let's create a separate JIRA issue for that scenario if it remains to be a problem.
This issue is not still resolved in Spring 4.3.0 also.
Affects: 4.2.1, 4.2.5, 4.2.6, 4.3 GA
The text was updated successfully, but these errors were encountered: