I'm starting to learn how to use AspectJ in Spring. I have the following class. I want to perform first method in new thread (long running task), so I thought this might be achieved using Aspect -...
Type: Posts; User: mbrnwsk; Keyword(s):
I'm starting to learn how to use AspectJ in Spring. I have the following class. I want to perform first method in new thread (long running task), so I thought this might be achieved using Aspect -...
I'm working with two databases (MySQL and HSQL), so I need two transaction managers in my Spring app. Please have a look at this code:
public abstract class ClientService implements...
I need to have two transaction managers in my Spring application. I use them by annotating service classes by @Transactional("nameOfTxManager"). Howewer, I am only able to use one of them - when I...