摘要: 不知道一些同学有没有这种疑问,为什么Mybtis中要配置dataSource,Spring的事务中也要配置dataSource?那么Mybatis和Spring事务中用的Connection是同一个吗?我们常用配置如下 <!--会话工厂 --> <bean id="sqlSessionFactory 阅读全文
posted @ 2019-11-13 11:50 chen_hao 阅读(5074) 评论(0) 推荐(9) 编辑