摘要:
xml 配置 <!--配置声明式事务--> <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> <constructor-arg ref="da 阅读全文
posted @ 2021-04-08 23:22
川上富江
阅读(97)
评论(0)
推荐(0)
摘要:
编写实体类编写核心配置文件编写接口编写mapper.xml测试resources 下的db.properties driver=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/mybatis?&useUnicode=true&charact 阅读全文
posted @ 2021-04-08 14:02
川上富江
阅读(30)
评论(0)
推荐(0)
摘要:
二 DiyPointCut.class public class DiyPointCut { public void before(){ System.out.println(" 在前 "); } public void after(){ System.out.println(" 在后 "); } 阅读全文
posted @ 2021-04-08 13:27
川上富江
阅读(51)
评论(0)
推荐(0)
摘要:
applicationContext.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/ 阅读全文
posted @ 2021-04-08 11:36
川上富江
阅读(31)
评论(0)
推荐(0)
摘要:
Client.class public class Client { public static void main(String[] args) { //真实角色 Host host = new Host(); //代理角色 现在没有 ProxyInvoationHandle pih = new 阅读全文
posted @ 2021-04-08 10:25
川上富江
阅读(35)
评论(0)
推荐(0)

浙公网安备 33010602011771号