コード例 #1
0
  public void setFetchSize(int rows) throws SQLException {
    Profiler profiler = _profilerPoint.start();

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

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

    try {
      _preparedStatement.addBatch(sql);
    } finally {
      profiler.finish();
    }
  }
コード例 #4
0
  public void clearBatch() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.clearBatch();
    } finally {
      profiler.finish();
    }
  }
コード例 #5
0
  public int getResultSetHoldability() throws SQLException {
    Profiler profiler = _profilerPoint.start();

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

    try {
      _preparedStatement.setArray(i, x);
    } finally {
      profiler.finish();
    }
  }
コード例 #7
0
  public ResultSet getGeneratedKeys() throws SQLException {
    Profiler profiler = _profilerPoint.start();

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

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

    try {
      _preparedStatement.setQueryTimeout(seconds);
    } finally {
      profiler.finish();
    }
  }
コード例 #10
0
  public Connection getConnection() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getConnection();
    } finally {
      profiler.finish();
    }
  }
コード例 #11
0
  public void setMaxRows(int max) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setMaxRows(max);
    } finally {
      profiler.finish();
    }
  }
コード例 #12
0
  public void setEscapeProcessing(boolean enable) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setEscapeProcessing(enable);
    } finally {
      profiler.finish();
    }
  }
コード例 #13
0
  public ResultSet executeQuery() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.executeQuery();
    } finally {
      profiler.finish();
    }
  }
コード例 #14
0
  public ParameterMetaData getParameterMetaData() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getParameterMetaData();
    } finally {
      profiler.finish();
    }
  }
コード例 #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();
    }
  }
コード例 #16
0
  public void setNull(int parameterIndex, int sqlType) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setNull(parameterIndex, sqlType);
    } finally {
      profiler.finish();
    }
  }
コード例 #17
0
  public SQLWarning getWarnings() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getWarnings();
    } finally {
      profiler.finish();
    }
  }
コード例 #18
0
  public int[] executeBatch() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.executeBatch();
    } finally {
      profiler.finish();
    }
  }
コード例 #19
0
  public void setCursorName(String name) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      _preparedStatement.setCursorName(name);
    } finally {
      profiler.finish();
    }
  }
コード例 #20
0
  public boolean getMoreResults(int current) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getMoreResults(current);
    } finally {
      profiler.finish();
    }
  }
コード例 #21
0
  public void setFetchDirection(int direction) throws SQLException {
    Profiler profiler = _profilerPoint.start();

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

    try {
      return _preparedStatement.executeUpdate(sql, columnIndexes);
    } finally {
      profiler.finish();
    }
  }
コード例 #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();
    }
  }
コード例 #24
0
  public boolean execute(String sql, String[] columnNames) throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.execute(sql, columnNames);
    } finally {
      profiler.finish();
    }
  }
コード例 #25
0
  public int getFetchSize() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getFetchSize();
    } finally {
      profiler.finish();
    }
  }
コード例 #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();
    }
  }
コード例 #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();
    }
  }