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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31057
    
232

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
 
Consider Paul's rocket mass heater.
 
subject: passing ArratList as input parameter