Esempio n. 1
0
  public void setFetchSize(int rows) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setFetchSize(rows);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 2
0
  public void setShort(int parameterIndex, short x) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setShort(parameterIndex, x);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 3
0
  public void addBatch(String sql) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.addBatch(sql);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 4
0
  public void clearBatch() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.clearBatch();
    } finally {
      profiler.finish();
    }
  }
Esempio n. 5
0
  public int getResultSetHoldability() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getResultSetHoldability();
    } finally {
      profiler.finish();
    }
  }
Esempio n. 6
0
  public void setArray(int i, Array x) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setArray(i, x);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 7
0
  public ResultSet getGeneratedKeys() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getGeneratedKeys();
    } finally {
      profiler.finish();
    }
  }
Esempio n. 8
0
  public boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.execute(sql, autoGeneratedKeys);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 9
0
  public void setQueryTimeout(int seconds) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setQueryTimeout(seconds);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 10
0
  public Connection getConnection() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getConnection();
    } finally {
      profiler.finish();
    }
  }
Esempio n. 11
0
  public void setMaxRows(int max) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setMaxRows(max);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 12
0
  public void setEscapeProcessing(boolean enable) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setEscapeProcessing(enable);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 13
0
  public ResultSet executeQuery() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.executeQuery();
    } finally {
      profiler.finish();
    }
  }
Esempio n. 14
0
  public ParameterMetaData getParameterMetaData() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getParameterMetaData();
    } finally {
      profiler.finish();
    }
  }
Esempio n. 15
0
  public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setTimestamp(parameterIndex, x, cal);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 16
0
  public void setNull(int parameterIndex, int sqlType) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setNull(parameterIndex, sqlType);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 17
0
  public SQLWarning getWarnings() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getWarnings();
    } finally {
      profiler.finish();
    }
  }
Esempio n. 18
0
  public int[] executeBatch() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.executeBatch();
    } finally {
      profiler.finish();
    }
  }
Esempio n. 19
0
  public void setCursorName(String name) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setCursorName(name);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 20
0
  public boolean getMoreResults(int current) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getMoreResults(current);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 21
0
  public void setFetchDirection(int direction) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setFetchDirection(direction);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 22
0
  public int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.executeUpdate(sql, columnIndexes);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 23
0
  public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setObject(parameterIndex, x, targetSqlType);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 24
0
  public boolean execute(String sql, String[] columnNames) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.execute(sql, columnNames);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 25
0
  public int getFetchSize() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getFetchSize();
    } finally {
      profiler.finish();
    }
  }
Esempio n. 26
0
  public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setBinaryStream(parameterIndex, x, length);
    } finally {
      profiler.finish();
    }
  }
Esempio n. 27
0
  public void setCharacterStream(int parameterIndex, Reader reader, int length)
      throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setCharacterStream(parameterIndex, reader, length);
    } finally {
      profiler.finish();
    }
  }