Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retrieve data in PL/SQL proc using JDBC in Websphere

 
jso113
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to retrieve a list of address locations from our database based on a user id and account number. I keep getting an ORA-06550 error.
Here is my package spec:

Here is a code snippet from my test class (I have already created my connection, that part has tested successfully with other PL/SQL procs):

Any help would be most appreciated! Thanks in advance!
 
SJ Adnams
Ranch Hand
Posts: 925
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have not looked up the error code, but I guess it is something to do with the ARRAY.
see the thomas kyte website on how to do this correctly - or I think i posted an example in the oracle forum a few months ago..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic