at oException:racle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:1401)

调用有返回值的存储过程时报:

Exception in thread "main" java.lang.NullPointerException

at oracle.jdbc.driver.T4CResultSetAccessor.getCursor(T4CResultSetAccessor.java:309)
at oracle.jdbc.driver.ResultSetAccessor.getObject(ResultSetAccessor.java:85)
at oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:1401)
at com.ht.util.SqlHelper.main(SqlHelper.java:28)



看看CallableStatement. 对象是否在之前关闭了....

你可能感兴趣的:(at oException:racle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:1401))