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

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

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

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

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

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

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

    try {
      return _preparedStatement.getGeneratedKeys();
    } finally {
      profiler.finish();
    }
  }
Exemplo 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();
    }
  }
Exemplo n.º 9
0
  public void setQueryTimeout(int seconds) throws SQLException {
    Profiler profiler = _profilerPoint.start();

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

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

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

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

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

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

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

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

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

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

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

    try {
      _preparedStatement.setFetchDirection(direction);
    } finally {
      profiler.finish();
    }
  }
Exemplo 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();
    }
  }
Exemplo 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();
    }
  }
Exemplo 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();
    }
  }
Exemplo n.º 25
0
  public int getFetchSize() throws SQLException {
    Profiler profiler = _profilerPoint.start();

    try {
      return _preparedStatement.getFetchSize();
    } finally {
      profiler.finish();
    }
  }
Exemplo 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();
    }
  }
Exemplo 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();
    }
  }