Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Complete
-
Affects Version/s: 4.3.2
-
Component/s: Transaction
-
Labels:
-
Last commented by a User:true
Description
When TransactionAspectSupport is initialized, the transaction manager cache is populated by the setTransactionManager method. At this point there can be multiple TransactionInterceptor instances defined, each with its own cache, with no conflicts.
However, as soon as the transaction cache entry in TransactionAspectSupport is cleared by the garbage collector, the transaction manager bean is then looked up by type, which leads to a NoUniqueBeanDefinitionException if multiple transaction managers are defined in your application context.
This is a regression caused by SPR-14511.
Attachments
Issue Links
- is duplicated by
-
SPR-14706 one beanfactory can not have more than one TransactionManager when low memory
-
- Resolved
-