Oracle 10g : How to pass ARRAYS to Oracle using Java?
Integer [] arr = {1 , 2};
- VALUELIST must be defined in SCHEMA LEVEL rather than PACKAGE LEVEL
- VALUELIST must always be typed in uppercase letter.
Thanks!
I just spent half a day working on that just to find out that I was passing my type name in lower case...
I'm glad I stumbled upon your post.
Hi ,
I am doing the exact same thing but getting an error.
java.sql.SQLException: Inconsistent java and sql object types
the only difference in our code is that i have defined a 2d array instead of 1.
Much appriciated if you can help on this.
it worked for me..Make sure all the object and table type in Oracle named with Upper characters and check the scope of those to be schema level instead of package level.
Copyright © 2009 So That I Can Remember All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.