Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 06:32 AM
Eugene
Guest
 
Posts: n/a
Default Passing a java array in to a DB2 stored procedure

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
  #2  
Old November 12th, 2005, 06:32 AM
Serge Rielau
Guest
 
Posts: n/a
Default Re: Passing a java array in to a DB2 stored procedure

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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,335 network members.