Oracle procedure

CallableStatement stmt = conn.prepareCall("{? = call test_sp ?, ?}");
stmt.registerOutParameter(1, Types.INTEGER);
stmt.setString(2, "008");
stmt.setString(3, "008");
ResultSet rs = stmt.executeQuery();

你可能感兴趣的:(oracle)