关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、3102411850 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 5332|回复: 0

jeecg3.6.5引入activiti1.5的4个jar文件,hibernate事务变为jdbc事务

[复制链接]
发表于 2016-12-16 14:36:35 | 显示全部楼层 |阅读模式
jeecg3.6.5引入activiti1.5的4个jar文件,每次进入service类有事务方法,出现如下日志:
310148 [http-8080-3] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'transactionManager'
310149 [http-8080-3] DEBUG o.s.o.h.HibernateTransactionManager - Found thread-bound Session [SessionImpl(PersistenceContext[entityKeys=[],collectionKeys=[]];ActionQueue[insertions=[] updates=[] deletions=[] collectionCreations=[] collectionRemovals=[] collectionUpdates=[] unresolvedInsertDependencies=UnresolvedEntityInsertActions[]])] for Hibernate transaction
310150 [http-8080-3] DEBUG o.s.o.h.HibernateTransactionManager - Creating new transaction with name [org.jeecgframework.web.system.service.impl.SystemServiceImpl.findByProperty]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; ''
310151 [http-8080-3] DEBUG o.s.o.h.HibernateTransactionManager - Preparing JDBC Connection of Hibernate Session [SessionImpl(PersistenceContext[entityKeys=[],collectionKeys=[]];ActionQueue[insertions=[] updates=[] deletions=[] collectionCreations=[] collectionRemovals=[] collectionUpdates=[] unresolvedInsertDependencies=UnresolvedEntityInsertActions[]])]
310153 [http-8080-3] DEBUG o.s.o.h.HibernateTransactionManager - Exposing Hibernate transaction as JDBC transaction [org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler@25d19a70[valid=true]] ,

严重影响系统效率,这个日志的意思应该是把hibernate事务变为jdbc事务,把4个activiti的jar文件去掉,就不会出现上面那样的日志了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表