哪位高手有java调用返回值的存储过程的示例

谁有java调用返回值的存储过程的示例?
java调用oracle存储过程
有返回值的out

并print出来的示例?给偶一个。万分感激,如能把有out的存储过程也给我的话就太太太感谢了!!!!

boyce@126.com

------解决方案--------------------
http://www.blogjava.net/TrampEagle/archive/2005/12/13/23605.aspx
http://developer.51cto.com/art/200509/2849.htm
------解决方案--------------------
cstmt = conn.prepareCall( "{call doKc(?,?,?)} ");
//第一个是整型输出参数, 第二个是字符输出参数,
cstmt.registerOutParameter(1,Types.INTEGER);
cstmt.registerOutParameter(2,Types.VARCHAR);
cstmt.setFloat(3,1.234);
cstmt.executeQuery();
RecordCount = cstmt.getInt(1); //获取返回参数
_errorInf = cstmt.getString(2);

我的异常网推荐解决方案:oracle存储过程,http://www..net/oracle-develop/177537.html