GeeCON Prague 2014*
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


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: 30580
    
154

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
 
Don't get me started about those stupid light bulbs.
 
subject: passing ArratList as input parameter