This discussion is archived
4 Replies Latest reply: Nov 13, 2012 5:29 PM by Joe Weinstein RSS

How to get result set from Stored procedure. ?

Ajay Sharma Newbie
Currently Being Moderated
Hi,

I am calling a stored procedure using Callable statement object.

but when I am using following code
ResultSet rs = cst.executeQuery();
and processing it using ResultSetMetaData it giving me error..

Procedure having 3 IN parameter and 2 OUT parameteres and I am regestering it properly.

Instead of resultset if I am reading data from CallableStatement object there is no error.

what can be the issue ?


Regards,
Ajay

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points