By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,934 Members | 1,804 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,934 IT Pros & Developers. It's quick & easy.

Passing a java array in to a DB2 stored procedure

P: n/a
Hi All,

I am having a hard time figuring out how to pass a ("true") java
array, like int[], from a jdbc application in to a DB2 stored
procedure or UDF (can be a java or SQL proc or a table UDF). Having
the application to write the array to a DB2 global temp table, or
passing it in any surrogate form like delimited string (or a byte
stream) of elements, are not possible alternatives. Is that
implementable at all with DB2 jdbc? (I am using DB2 UDB 8.1.4 for
Linux)

Thanks,
-Eugene
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Eugene,

I don't think there is an alternative, although I'm no JDBC expert.
Can you elaborate on why a temp table is not an option?

Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.