plsql - Check cursor closed in java -
how check if plsql cursor closed java
i using following code
stmt.registeroutparameter(25,oracletypes.cursor); if use following code
if(stmt.getobject(25)!=null) i getting cursor closed error
please help.
you should able check instance of statement object:
if(!stmt.isclosed()&&stmt.getobject(25)!=null) ...
Comments
Post a Comment