摘要:
整合jUnit4 1.引入依赖 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>5.2.6.RELEASE</version> </dependency 阅读全文
摘要:
1.创建配置类 package spring.config; import com.alibaba.druid.pool.DruidDataSource; import org.springframework.context.annotation.Bean; import org.springfra 阅读全文
摘要:
1.在spring配置文件中进行配置 ①配置事务管理器 ②配置通知 ③配置切入点和切面 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xs 阅读全文