How to get the resultset of stroedProcedure

Questions by kg.shankar   answers by kg.shankar

Showing Answers 1 - 2 of 2 Answers

Yahel Hamou Malkin

  • Oct 7th, 2005
 

By invoking the getObject on the CallableStatement.CallableStatement proc = conn.prepareCall("{ ? = call " + functionSql + " }");proc.registerOutParameter(1, Types.OTHER);proc.execute();ResultSet results = (ResultSet) proc.getObject(1);

  Was this answer useful?  Yes

Ramesh

  • Oct 18th, 2005
 

Invove getResultSet() method of the callableStatement object which is inherited from java.sql.Statement interface

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions