I'm trying to call an Oracle stored procedure from my Java program. I'm using JDBC and Spring's StoredProcedure. A couple of the parameters are user defined types and I need to know how to pass them in.
In particular what type should I specify in the parameter map (i.e. which of java.sql.Types.*
)? And what Java type should I use? The problem types are defined like this:
type MyDoubles as varray(50000) of double precision
type MyStrings as varray(50000) of varchar2(2000)