上一页 1 2 3 4 5 6 7 8 9 10 ··· 48 下一页
摘要: 1、流程 1)、导包 commons-logging-1.1.3.jar spring-aop-4.0.0.RELEASE.jar spring-beans-4.0.0.RELEASE.jar spring-context-4.0.0.RELEASE.jar spring-core-4.0.0.RE 阅读全文
posted @ 2020-06-17 18:38 清晨的第一抹阳光 阅读(142) 评论(0) 推荐(0)
摘要: 先创建的页面修改路径 修改路径如下 添加并完善路径\src\main\webapp 添加后如图 效果如下 参考:https://www.cnblogs.com/oldzhang1222/p/10429827.html 阅读全文
posted @ 2020-06-17 10:42 清晨的第一抹阳光 阅读(621) 评论(0) 推荐(0)
摘要: 解决方法: 添加-Dfile.encoding=utf-8即可解决 效果如下: 参考:https://blog.csdn.net/weixin_43103239/article/details/98785049 阅读全文
posted @ 2020-06-17 10:28 清晨的第一抹阳光 阅读(316) 评论(0) 推荐(0)
摘要: BookDao.java: package com.atguigu.dao; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplat 阅读全文
posted @ 2020-06-09 23:22 清晨的第一抹阳光 阅读(183) 评论(0) 推荐(0)
摘要: 1 事务的隔离级别 1.1 数据库事务并发问题 假设现在有两个事务:Transaction01和Transaction02并发执行。 ①脏读 [1]Transaction01将某条记录的AGE值从20修改为30。 [2]Transaction02读取了Transaction01更新后的值:30。 [ 阅读全文
posted @ 2020-06-09 23:03 清晨的第一抹阳光 阅读(239) 评论(0) 推荐(0)
摘要: 1、Spring-IOC-AOP(动态代理);多层代理 LogAspectpRroxy{ try{ @Before method.invoke()//pjp.procced(args){ BAspectProxy{ @Before method.invoke()// 目标方法 @AfterRetur 阅读全文
posted @ 2020-06-09 15:13 清晨的第一抹阳光 阅读(216) 评论(0) 推荐(0)
摘要: 1 事务概述 ●在JavaEE企业级开发的应用领域,为了保证数据的完整性和一致性,必须引入数据库事务的概念,所以事务管理是企业级应用程序开发中必不可少的技术。 ●事务就是一组由于逻辑上紧密关联而合并成一个整体(工作单元)的多个数据库操作,这些操作要么都执行,要么都不执行。 ●事务的四个关键属性(AC 阅读全文
posted @ 2020-06-09 14:13 清晨的第一抹阳光 阅读(148) 评论(0) 推荐(0)
摘要: jdbcTemplate基础 Employee.java: package com.atguigu.bean; import lombok.Data; import lombok.ToString; /** * @Title: Employee * @Description: * @Author: 阅读全文
posted @ 2020-06-09 09:46 清晨的第一抹阳光 阅读(172) 评论(0) 推荐(0)
摘要: AOP配置文件版(Spring基础-06为注解版) MyMathCalculator.java: package com.atguigu.impl; import org.springframework.stereotype.Service; /** * @Title: MyMathCalculat 阅读全文
posted @ 2020-06-08 23:21 清晨的第一抹阳光 阅读(162) 评论(0) 推荐(0)
摘要: AOP相关知识点 MyMathCalculator.java: package com.atguigu.impl; import com.atguigu.inter.Calculator; import org.springframework.stereotype.Service; /** * @T 阅读全文
posted @ 2020-06-08 17:25 清晨的第一抹阳光 阅读(121) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 48 下一页