I am looking for a way to get metadata from an Oracle store procedure, such as input/output parameters and their types.
I did try DESC
but it is not working:
stmt = conn.createStatement();
ResultSet rs1 = stmt.executeQuery("desc pack.procname");
while ( rs1.next() ) {
System.out.println(rs1.getString(1));
}
Any ideas on what approach to use to get the input/output parameters?
Thanx for your time.