搭配使用
dao层配置文件(applicationContext-dao.xml):
https://blog.csdn.net/a755199443/article/details/90272909
service层配置文件(applicationContext-service.xml):
https://blog.csdn.net/a755199443/article/details/90272977
事务管理配置文件用于aop相关的配置
文件名:applicationContext-trans.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sprin