This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30068
    
149

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://aspose.com/file-tools
 
subject: passing ArratList as input parameter
 
Similar Threads
WA #1.....word association
help with JavaScript function
I do not know how to decrypt
Invoking a Oracle Stored Proc which takes a REF CURSOR as a IN parameter
response.encodeURL