File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes passing ArratList as input parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "passing ArratList as input parameter" Watch "passing ArratList as input parameter" New topic
Author

passing ArratList as input parameter

Puneet Jain
Greenhorn

Joined: Jun 17, 2004
Posts: 5
Hi

hoe can i pass a java.util.ArrayList as a parameter to callable statement

is this possible without using oracle specific classe

regards
Puneet
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26161
    
  66

Puneet,
You can't pass an ArrayList in a vendor neutral manner. You can use the setArray() method to pass a collection to a stored procedure.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: passing ArratList as input parameter
 
Similar Threads
I do not know how to decrypt
help with JavaScript function
response.encodeURL
WA #1.....word association
Invoking a Oracle Stored Proc which takes a REF CURSOR as a IN parameter