using nested_tables in java
问题 How do I receive a nested table in java from pl/sql procedure's OUT parameter? Here is my example code. Connection connection = utilities.getConnectionToDb(); CallableStatement callableStatement = connection.prepareCall("{call procedure_name(?,?)}"); callableStatement.setLong(1, 23456); callableStatement.registerOutParameter(2, Types.ARRAY); callableStatement.executeQuery(); But when I try executing it I get the error PLS-00306: wrong number or types of arguments in call to 'procedure_name' I