I want to use spring-aspects to make my methods transactional, but without using Spring AOP (Spring AOP works just fine with: <tx:annotation-driven/>).
I’m using Maven to manage my project.
Is there a way to do compile time weaving on my project classes so “they are Transactional“.
I was trying to use the Mojo’s AspectJ Maven Plugin, but without any good results.
Please help.
I figured it out.
Maven plugin works fine but the problem was with my spring config:
I had:
What I needed was:
Now it works fine. And performace of my @Transactional methods improved and that what I was aming for.
Here is my maven aspectj plugin config:
hope this helps someone.