I think it would be very common for a batch to use TaskExecutor and the threads will have its own transactions.
How can this be achieved?
The threads submitted have common type and implementing common execution method. So I tried to define a <tx:advice> around that method to start the transaction. But when my test case gets to that method, the execution just stopped without returning any exception or System.out.println()....


Reply With Quote
