精通Spring+4.x++企业开发与实践学习之SpringBoot
#SpringBootxml
- 在SpringBoot1.2之前使用@Configuration,@ComponentScan,@EnableAutiCofiguration注解标识启动类,到了SpringBoot1.2时,直接使用@SpringBootApplication代替。
#持久层事务
- Spring内置jdbcTemplate
- Hibernate和MyBatis
- 只是业务层事务的开启(只须要在启动类使用@EnableTransactionManagement注解,至关于 在xml配置文件的tx:annotation-driven/)
欢迎关注本站公众号,获取更多信息