@Tansactional and @Aspect ordering
问题 I would like to execute my code just before @Transactional transaction is started. @Aspect @Order(Ordered.HIGHEST_PRECEDENCE) //@Order(Ordered.LOWEST_PRECEDENCE) public class SynchronizerAspect { @Pointcut("execution(public * xxx.xxx.services.*.*(..))") private void anyServiceOperation() { } @Around("anyServiceOperation()") public Object synchronizerAdvice(ProceedingJoinPoint joinPoint) throws Throwable { System.out.println("Synchronizing : " + joinPoint.getSignature().getName()); return