resultset - Method to get only procedures from an oracle database using Java -
i need procedures using java databasemetadata method returns functions' names.
databasemetadata dbmd=con.getmetadata(); resultset result = dbmd.getprocedures(null, ousername, null);
that happens because procedures , functions same in oracle.
there column procedure_type of type short show kind of procedure:
1means there no result, procedure.2means returns result, function.
you can access column usual resultset:
result.getshort("procedure_type")
Comments
Post a Comment