I have a method that has two annotations:
@Transactional
@SchedulerLock
public void test() {
// do something
}
I'm wondering what happens first. Will first be a transaction created and then the locking will happen, or the other way round? Or isn't this even determined?
I tried to figure this out by reading the documentation, but I'm unsure where to even start. The only thing I could find was a random comment without source that said that the order is random.