51964 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] ERROR net.sf.hibernate.util.JDBCExc eptionReporter(38) - SQLException occurred java.sql.SQLException: SQL operations are not allowed with no global transaction by default for XA d rivers. If the XA driver supports performing SQL operations with no global transaction, explicitly a llow it by setting "SupportsLocalTransaction" JDBC connection pool property to true. In this case, a lso remember to complete the local transaction before using the connection again for global transact ion, else a XAER_OUTSIDE XAException may result. To complete a local transaction, you can either set auto commit to true or call Connection.commit() or Connection.rollback(). at weblogic.jdbc.wrapper.JTAConnection.checkIfLocalTxSupported(JTAConnection.java:85) at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:74) at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:316) at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:257) at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:232) at net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java:65) at net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java:779) at net.sf.hibernate.loader.Loader.doQuery(Loader.java:265) at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133) at net.sf.hibernate.loader.Loader.doList(Loader.java:1033) at net.sf.hibernate.loader.Loader.list(Loader.java:1024) at net.sf.hibernate.loader.CriteriaLoader.list(CriteriaLoader.java:118) at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:3613) at net.sf.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:238)
|