Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Object to PL SQL Object

 
Dipti Karnataki
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi,

I have a requirement where I need to call a procedure which has five arguments and three are in and 2 are out.

The first parameter is of type TBL and has a corresponding OBJ type in data base, all the values of TBL type are varchar.

For this TBL type I am using a ArrayDescrptor and for OBJ using StructDescriptor.

once this is done setting the values of Object[] to User's Strings and passing to new STRUCT , the struct which I get from this I am passing to ARRAY and this is giving me a

Internal Representation Error.

while creating ARRAY object. If I am directly passing STRUCT object to cstcmt.setObject , it is giving me invalid number or type of arguments.



I have to complete this very urgently. Please help me with this. If any one has good knowledge on this may be we can have a call or webex.


Thanks in advance.

Dipti
 
Ireneusz Kordal
Ranch Hand
Posts: 423
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please give versions of Oracle and JDBC driver you are using.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic