Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

a related question, may I pass a resultset through a out parameter?

parameter pass ResultSet
0
Posted

a related question, may I pass a resultset through a out parameter?

0

Re: Statements works different than CallableStatement Author: sharan yadrami (http://www.jguru.com/guru/viewbio.jsp?EID=1045060), Sep 12, 2003 Hai Auro I have the same problem.Can u help me out if u have got the answer.It is very urgent. my code goes like this my code goes like this import oracle.jdbc.*; import java.sql.*; import javax.sql.*; class TestProcedure { public static void main(String args[]) { TestProcedure test = new TestProcedure(); test.Test(); } public void Test() { java.sql.CallableStatement cstmtObject = null; java.sql.ResultSet rulesObject = null; try{ String conStr = “jdbc:oracle:thin:@172.20.10.7:1521:BAS”; String user = “test”; String pass = “test123”; DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); java.sql.Connection conn = (java.sql.Connection)DriverManager.getConnection(conStr,user,pass); System.out.println(“connected”); String sqlquery = “{call test.COMPUTATION(?,?,?,?)}”; cstmtObject = conn.prepareCall(sqlquery,ResultSet.TYPE_SCROLL_INSEN

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123