예제 #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();
    }
  }