Package oracle.jdbc

Examples of oracle.jdbc.OracleCallableStatement


  public ResultSet Hent_tabel(String Execute) throws SQLException {
      return db.executeQuery(Execute);
  }
 
  public int executeCallableStatement(String query) throws SQLException{
    OracleCallableStatement cs = (OracleCallableStatement) con.prepareCall(query);
    cs.registerOutParameter(1, OracleTypes.NUMBER);
    cs.execute();
    return cs.getInt(1);
  }
View Full Code Here

TOP

Related Classes of oracle.jdbc.OracleCallableStatement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.