LDEV-3319: catch and ignore SQLException thrown when isClosed() condition is checked on Statement. Exemplary stacktrace below. 2014-10-10 20…
Show more
LDEV-3319: catch and ignore SQLException thrown when isClosed() condition is checked on Statement. Exemplary stacktrace below.2014-10-10 20:21:35,092 ERROR [com.tacitknowledge.util.migration.jdbc.util.SqlUtil] (MSC service thread 1-6) Error closing Statement: java.sql.SQLException: The statement is closed. at org.jboss.jca.adapters.jdbc.WrappedStatement.checkState(WrappedStatement.java:1324) at org.jboss.jca.adapters.jdbc.WrappedStatement.getUnderlyingStatement(WrappedStatement.java:1239) at org.jboss.jca.adapters.jdbc.WrappedStatement.getWrappedObject(WrappedStatement.java:1255) at org.jboss.jca.adapters.jdbc.WrappedStatement.isClosed(WrappedStatement.java:1159) at com.tacitknowledge.util.migration.jdbc.util.SqlUtil.close(SqlUtil.java:89)
Show less