• Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing collections to stored procedures in DB2  RSS feed

Maruti Nori
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have to port an existing J2EE application from Oracle(written in PL/SQL) to DB2.In Oracle we were passing collection of integers as a string, similarly in SQL server we were passing an XML consisting of integer collection.
What should be our approach in DB2 for passing these collections as input parameters.
Similarly we were using 'OracleTypes.ARRAY' in Oracle and 'ResultSets' in SQL server for handling output parameters which are a collection of integers.How should we handle this in DB2.
Any help on this greatly appreciated.
thanks & regards,
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!