Mar 15th, 2013, 01:43 PM
Spring Aspects advices outsite transactions of targets beans
I'm using bean1 with @AfterReturning to make a proxy for a existing bean2 that implements an transactional processing, Bean2 is using @Transactional. The problem is the bean1 proxy method with @AfterReturning is running within a transaction that target bean1 and I would like to execute proxy method outside the target bean1 transaction.
I already searched but did not find how to do this. Anyone know how to do it?