精通Spring+4.x++企業開發與實踐學習之SpringBoot
#SpringBootxml
- 在SpringBoot1.2之前使用@Configuration,@ComponentScan,@EnableAutiCofiguration註解標識啓動類,到了SpringBoot1.2時,直接使用@SpringBootApplication代替。
#持久層事務
- Spring內置jdbcTemplate
- Hibernate和MyBatis
- 只是業務層事務的開啓(只須要在啓動類使用@EnableTransactionManagement註解,至關於 在xml配置文件的tx:annotation-driven/)
歡迎關注本站公眾號,獲取更多信息