Monday, December 21, 2015

Oracle JDBC 12.1 bug



We were getting in a production when using batch statement execution

NestedThrowablesStackTrace:

java.lang.ArrayIndexOutOfBoundsException: -1 at oracle.jdbc.driver.OraclePreparedStatement.setupDbaBindBuffers(OraclePreparedStatement.java:3528)

at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:3046)

at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:12194)

at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:246)

Well it seems it is bug in Oracle JDBC 12.1 and searching Oracle Support revealed there is a patch available Oracle Patch 19002423.


JDBC patches are not part of Oracle DB patches neither are included in Oracle DB Client patches. For example Oracle DB bundle patch 10 doesn't include this patch.





No comments:

Post a Comment