I'm using spring Roo and it is working quite well !
However, I got a problem with a method that I added to my entity(in the .java file, not the .aj). This method is annotated with @Transactional and is doing some modification on the entity.
When I call this method from a controller on a managed entity (just loaded with a finder), the flush is not done, I have to call manually the flush after the entity method call :
If I don't flush, no modification recorded in the database.
Am I doing something wrong ?
I didn't change the setup provided by roo (hibernate, mvc and OpenEntityManagerInViewFilter).
Thanks for you help !