• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to access oracle procedure having associative array(TYPE) as input from java?  RSS feed

 
Ritesh Dwa
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
I am having problem in accessing oracle procedure having associative array(TYPE) as input from java.
I am using jdk 1.6 and oracle 11g.
I have a oracle procedure to call from java as given below:

Oracle procedure:


Java code:



I had search about this on web and found that "Hashmap" would be used as associative array in Java but I don't know how to use it to call oracle procedure.

Can anyone suggest me, how to set the datatype.

Thank you in advance.
 
Ritesh Dwa
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now it worked. I had searched at lot and found that if we add the below code it works;

 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!