Tuesday, November 29, 2011

How to get the resultset of stroedProcedure

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);
Category:JDBC Interview Questions

No comments:

Post a Comment