I have a Spring MVC application using JPA 2. All the controllers are annotated with @Transactional at the class level.
Is it possible to keep that annotation at the class level and simply override it with another @Transactional annotation at the method level? I have one method I’d like to make SERIALIZABLE.
You can add multiple transaction managers by adding qualifiers to distinguish which one that should be used, provided that they have been configured: