java.lang.AbstractMethodError: oracle.jdbc.driver.OracleCallableStatementWrapper.isClosed()Z when Calling Stored Procedure with JDBC
(Doc ID 2105743.1)
Last updated on AUGUST 30, 2023
Applies to:
JDBC - Version 11.2.0.3.0 and laterInformation in this document applies to any platform.
Symptoms
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.<NAME>.rfs.mbmtgexp.mxcomm.subsidy.dao.impl.SubsidyDaoImpl.executeUpdate(SubsidyDaoImpl.java:412)
at com.<NAME>.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.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |