Transactional annotation on whole class + excluding a single method
问题 I have a class with @Transactional annotation (instead of marking it for all of its method). Although i have a single method inside that class that shouldn't be annotated as @Transactional . My question is is there an annotation i can put in this method to mark it as "non-transactional"? or should i start marking each single method in this class as "transactional" excluding this method (a lot of work) thanks. 回答1: There are different transaction propagation strategies to use. These exist in