How to set values in ORA_JAVA.JARRAY
Hi,
I have a method inside a java class, which takes a two dimensional array as its argument. Now when I import this class file into Forms via Java Importer, my PL/SQL wrapper package has a procedure with ORA_JAVA.JARRAY type as its argument, which is equivalent to my Java method with 2D array as its argument
When I use this procedure in my Forms application, I need to set the values for the elements of this array. But, How do I set the values as neither ORA_JAVA.NEW_STRING_ARRAY() or ORA_JAVA.SET_STRING_ARRAY_ELEMENT() signature allow me to set the 2nd element, ie x[i] in the x[i][j] array
For the same logic, I tried changing my Java class which would take HashMap as its argument. In this case, the pl/sql procedure has a ORA_JAVA.JOBJECT type as its argument. Can someone tell me how to create and set the values in ORA_JAVA.JOBJECT. I would be very thankful if an example is quoted :)
If any one is aware please help me.
Thanks,
Suresh