mybaties
迟来的爱好!
这个作者很懒,什么都没留下…
展开
-
spring整合mybaties
mybaties执行流程:step1.Resources获取加载全局配置文件 —>step2.解析配置文件流:InputStream inputStream = Resources.getResourceAsStream(resource);–>step3.通过流生成SqlSessionFactory 对象SqlSessionFactory sqlSessionFactory = new SqlSessionFactoryBuilder().build(inputStream);–>原创 2022-01-07 16:41:24 · 130 阅读 · 0 评论 -
sqlSessionFactory.openSession(true)
sqlSessionFactory.openSession(true)原创 2022-01-06 11:17:15 · 1459 阅读 · 2 评论 -
Log4j 在mybatis中应用
Log4j 在mybatis中应用原创 2022-01-05 10:08:27 · 140 阅读 · 0 评论