![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MyBatis
shuaibi.1
这个作者很懒,什么都没留下…
展开
-
MyBatis各个jar包的作用
字号Spring jar包官网下载地址:http://repo.spring.io/release/org/springframework/spring/Spring jar包的描述:针对3.2.2以上版本org.springframework spring-aop ——Spring的面向切面编程,提供AOP(面向切面编程)实现org.springframework spring-a...转载 2018-09-15 22:06:23 · 7233 阅读 · 3 评论 -
MyBatis错误整合(持续更新)
1:Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either th...原创 2019-02-07 18:09:15 · 367 阅读 · 0 评论 -
log4j.properties(持续更新)
log4j.rootLogger=debug, stdout, Rlog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLayoutlog4j.appender.stdout.layout.ConversionPattern=...原创 2019-02-07 19:46:43 · 235 阅读 · 0 评论 -
MyBatis--工具类模板
第一种:public class JDBCUtils { private static ThreadLocal<SqlSession> threadLocal = new ThreadLocal<SqlSession>(); private static SqlSessionFactory sqlSessionFactory=null; sta...转载 2019-02-07 20:06:53 · 414 阅读 · 0 评论 -
MyBatis总结
目录 1、历史背景1.1、jdbc到orm1.2、引出ORM1.3、持久层框架2、MyBatis结构图解3、MyBatis原理4、MyBatis内容概括4.1、mapper映射文件讲解:4.2、MyBatis主配置文件一、注册DB连接四要素属性文件二、指定实体类权限定性类名的别名三、配置MyBatis的运行环境四、指定映射文件4.4、对象...原创 2019-02-07 22:06:35 · 816 阅读 · 0 评论