Execute a CallableStatemaent to an Oracle database?
Hello!How (or is it impossible) should I execute a callable statment to a Oracle database and retrive the resultset in the returned resultset like:
resultSet = callableStatement.executeQuery();
I have only manged to retrive the resultset like this:
callableStatement.registerOutParameter(1, OracleTypes.CURSOR);
callableStatement.executeQuery();
resultSet = (ResultSet) callableStatement.getObject(1);
With other databases the first line of code usally works.
Best regards
Fredrik
