File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "passing ArratList as input parameter" Watch "passing ArratList as input parameter" New topic

passing ArratList as input parameter

Puneet Jain

Joined: Jun 17, 2004
Posts: 5

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

is this possible without using oracle specific classe

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32820

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: passing ArratList as input parameter
It's not a secret anymore!