• 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic