@EnableTransactionManagement in Spring Boot

后端 未结 6 1778
你的背包
你的背包 2020-12-07 16:58

Is @EnableTransactionManagement required in Spring Boot? I did some research. Some folks say you don\'t need it, as Spring Boot has it already enabled, others s

6条回答
  •  遥遥无期
    2020-12-07 17:06

    @EnableTransactionManagement is conditionally turned on/off based of the dependency jars we add in the classpath. If we use spring data jpa starter it is turned on.

提交回复
热议问题