Output for sql type is different between sql command line and metadata
870275Jun 21 2011 — edited Jun 21 2011There is a table type 'abc' of varchar2
created a stored procedure 'stp' using 'abc' as in parameter
now when 'desc stp' command is used in sql command line i.e, isqlplus, in the output the type of in parameter is shown as 'abc'
where as in case DatabaseMetaData.getProcedureColumns() is used, the resultSet contains the type of in parameter as 'table'
am using ojdbc5.jar
why is the difference between these two? is this a bug?
is there anyway that i could get the type of in parameter as 'abc' by using databaseMetaData