Setting Up Annotation Driven Transactions in Spring in @Configuration Class

后端 未结 3 363
盖世英雄少女心
盖世英雄少女心 2021-01-07 21:06

So in the latest version of Spring we are able to use the @Configuration annotation to setup our configurations for Spring. Now in JavaConfig it is possible to

3条回答
  •  走了就别回头了
    2021-01-07 21:26

    Take a look at http://blog.springsource.com/2011/02/17/spring-3-1-m1-featurespec. Spring 3.1's FeatureSpecification classes such as TxAnnotationDriven are designed to solve exactly the problem described above.

提交回复
热议问题