I have a Java app accessing an oracle stored procedure. The arguments to the stored procedure include an array type. I do it like the following...
con = this
We need to set accessToUnderlyingConnectionAllowed falg true while creating a datasource
the type VARCHAR2_ARR
is a PLSQL type, you won't be able to interface it directly from java. I suggest you look into this thread on AskTom regarding a similar question.
Here are a couple suggestions:
In both cases you will have to either modify the PLSQL procedure or add a new translation procedure.