• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass a two dimensional Object Array To a Stored Procedure

 
Parthiban Sreenivasan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai All
I have a requirment to Pass a two dimensional object array from java to a oracle Stored procedure/Function. I am not able to handle this in the java side and also if you have some special datatype in oracle to then pls do help me that too
Pls do mail me if you have suggestions or example codes or any information on this .
Email parthiban_s@infy.com
 
SJ Adnams
Ranch Hand
Posts: 925
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the pl/sql:

Here is the java:

here is the output:

Hope it helps.
[ October 23, 2002: Message edited by: Simon Lee ]
[ October 23, 2002: Message edited by: Simon Lee ]
 
SJ Adnams
Ranch Hand
Posts: 925
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry that example was for a single dimension array. However you should be able to see how to extend the example to a 2D array.
Simon
 
Wang Alix
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can u divide a 2D array to both 1D arrays?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic