xzy1586 发表于 2016-12-16 14:36:35

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

jeecg3.6.5引入activiti1.5的4个jar文件,每次进入service类有事务方法,出现如下日志:
310148 DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'transactionManager'
310149 DEBUG o.s.o.h.HibernateTransactionManager - Found thread-bound Session ,collectionKeys=[]];ActionQueue updates=[] deletions=[] collectionCreations=[] collectionRemovals=[] collectionUpdates=[] unresolvedInsertDependencies=UnresolvedEntityInsertActions[]])] for Hibernate transaction
310150 DEBUG o.s.o.h.HibernateTransactionManager - Creating new transaction with name : PROPAGATION_REQUIRED,ISOLATION_DEFAULT; ''
310151 DEBUG o.s.o.h.HibernateTransactionManager - Preparing JDBC Connection of Hibernate Session ,collectionKeys=[]];ActionQueue updates=[] deletions=[] collectionCreations=[] collectionRemovals=[] collectionUpdates=[] unresolvedInsertDependencies=UnresolvedEntityInsertActions[]])]
310153 DEBUG o.s.o.h.HibernateTransactionManager - Exposing Hibernate transaction as JDBC transaction ] ,

严重影响系统效率,这个日志的意思应该是把hibernate事务变为jdbc事务,把4个activiti的jar文件去掉,就不会出现上面那样的日志了
页: [1]
查看完整版本: jeecg3.6.5引入activiti1.5的4个jar文件,hibernate事务变为jdbc事务