Forum Stats

  • 3,757,148 Users
  • 2,251,201 Discussions
  • 7,869,743 Comments

Discussions

We are migrating oracleDb to MySqlDB. we are facing java.sql.SQLException: enlist: caught Exception

Caused by: java.sql.SQLException: enlist: caught Exception

at com.ibm.ws.rsadapter.AdapterUtil.toSQLException(AdapterUtil.java:1705)

at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:833)

at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:2825)

at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:2776)

at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:534)

at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:452)

at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)

at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1577)

at org.hibernate.loader.Loader.doQuery(Loader.java:696)

at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)

Answers