• Post Reply Bookmark Topic Watch Topic
  • New Topic

calling DB2 SP from Java

 
kishore goswami
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I need java code to call a SP returning a resultset in DB2.

Do we register the resultset as out parameter using (registerOutParamaeter).

any help is greatly appreciated.
 
Shailesh Chandra
Ranch Hand
Posts: 1082
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kishore,

I have no idea about db2 , but please let us know can a db2 "stored procedure" return a resultset ???

if not is it a cursor ??
[ October 15, 2004: Message edited by: Shailesh Chandra ]
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!