采用hibernate做数据交互,但是偶尔会爆出这个错:
Pre-bound JDBC Connection found! HibernateTransactionManager does not support running within DataSourceTransactionManager if told to manage the DataSource itself. It is recommended to use a single HibernateTransactionManager for all transactions on a single DataSource, no matter whether Hibernate or JDBC access.,
今天把weblogic上的服务重启了一下,就不报这个错了,这是什么原因呢?如果是事务冲突了,重启服务应该也没有用的,求接答!!!