java.lang.AbstractMethodError: oracle.jdbc.driver.OracleCallableStatementWrapper.isClosed()Z when Calling Stored Procedure with JDBC (Doc ID 2105743.1)

Last updated on FEBRUARY 12, 2016

Applies to:

JDBC - Version 11.2.0.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.2.0.3.0 version, Thin JDBC driver

While calling a stored procedure with JDBC 11.2.0.3 ojdbc5.jar, the following exception occurs with callable statement :


ERROR
--------------

java.lang.AbstractMethodError: oracle.jdbc.driver.OracleCallableStatementWrapper.isClosed()Z
  at com.jpmc.rfs.mbmtgexp.mxcomm.subsidy.dao.impl.SubsidyDaoImpl.executeUpdate(SubsidyDaoImpl.java:412)
  at com.jpmc.rfs.mbmtgexp.mxcomm.subsidy.dao.impl.SubsidyDaoImpl$1.execute(SubsidyDaoImpl.java:361)
  at org.hibernate.jdbc.WorkExecutor.executeWork(WorkExecutor.java:54)
  at org.hibernate.internal.SessionImpl$2.accept(SessionImpl.java:2040)
  at org.hibernate.internal.SessionImpl$2.accept(SessionImpl.java:2037



Code implementation:
 




STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Set CLASSPATH to point to JDBC 11.2.0.3 (ojdbc5.jar)
2. Set PATH to point to Java 1.7.
3. Call a stored procedure with callable statement from JDBC program.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms