callablestatementwrapper.java

来自「RESIN 3.2 最新源码」· Java 代码 · 共 2,278 行 · 第 1/4 页

JAVA
2,278
字号
  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setByte(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public void setShort(int parameterIndex, short x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setShort(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public void setInt(int parameterIndex, int x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setInt(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public void setLong(int parameterIndex, long x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setLong(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public void setFloat(int parameterIndex, float x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setFloat(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public void setDouble(int parameterIndex, double x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setDouble(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public void setBigDecimal(int parameterIndex, BigDecimal x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setBigDecimal(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public void setString(int parameterIndex, String x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setString(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public void setBytes(int parameterIndex, byte[] x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setBytes(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public void setDate(int parameterIndex, Date x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setDate(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public void setTime(int parameterIndex, Time x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setTime(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public void setTimestamp(int parameterIndex, Timestamp x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setTimestamp(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public void setAsciiStream(int parameterIndex, InputStream x, int length)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setAsciiStream(parameterIndex, x, length);    }    finally {      profiler.finish();    }  }  public void setUnicodeStream(int parameterIndex, InputStream x, int length)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setUnicodeStream(parameterIndex, x, length);    }    finally {      profiler.finish();    }  }  public void setBinaryStream(int parameterIndex, InputStream x, int length)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setBinaryStream(parameterIndex, x, length);    }    finally {      profiler.finish();    }  }  public void clearParameters()    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.clearParameters();    }    finally {      profiler.finish();    }  }  public void setObject(int parameterIndex,                        Object x,                        int targetSqlType,                        int scale)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setObject(parameterIndex, x, targetSqlType, scale);    }    finally {      profiler.finish();    }  }  public void setObject(int parameterIndex, Object x, int targetSqlType)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setObject(parameterIndex, x, targetSqlType);    }    finally {      profiler.finish();    }  }  public void setObject(int parameterIndex, Object x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setObject(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public boolean execute()    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      return _callableStatement.execute();    }    finally {      profiler.finish();    }  }  public void addBatch()    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.addBatch();    }    finally {      profiler.finish();    }  }  public void setCharacterStream(int parameterIndex, Reader reader, int length)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setCharacterStream(parameterIndex, reader, length);    }    finally {      profiler.finish();    }  }  public void setRef(int i, Ref x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setRef(i, x);    }    finally {      profiler.finish();    }  }  public void setBlob(int i, Blob x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setBlob(i, x);    }    finally {      profiler.finish();    }  }  public void setClob(int i, Clob x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setClob(i, x);    }    finally {      profiler.finish();    }  }  public void setArray(int i, Array x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setArray(i, x);    }    finally {      profiler.finish();    }  }  public ResultSetMetaData getMetaData()    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      return _callableStatement.getMetaData();    }    finally {      profiler.finish();    }  }  public void setDate(int parameterIndex, Date x, Calendar cal)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setDate(parameterIndex, x, cal);    }    finally {      profiler.finish();    }  }  public void setTime(int parameterIndex, Time x, Calendar cal)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setTime(parameterIndex, x, cal);    }    finally {      profiler.finish();    }  }  public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setTimestamp(parameterIndex, x, cal);    }    finally {      profiler.finish();    }  }  public void setNull(int paramIndex, int sqlType, String typeName)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setNull(paramIndex, sqlType, typeName);    }    finally {      profiler.finish();    }  }  public void setURL(int parameterIndex, URL x)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setURL(parameterIndex, x);    }    finally {      profiler.finish();    }  }  public ParameterMetaData getParameterMetaData()    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      return _callableStatement.getParameterMetaData();    }    finally {      profiler.finish();    }  }  public ResultSet executeQuery(String sql)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      return _callableStatement.executeQuery(sql);    }    finally {      profiler.finish();    }  }  public int executeUpdate(String sql)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      return _callableStatement.executeUpdate(sql);    }    finally {      profiler.finish();    }  }  public void close()    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.close();    }    finally {      profiler.finish();    }  }  public int getMaxFieldSize()    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      return _callableStatement.getMaxFieldSize();    }    finally {      profiler.finish();    }  }  public void setMaxFieldSize(int max)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setMaxFieldSize(max);    }    finally {      profiler.finish();    }  }  public int getMaxRows()    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      return _callableStatement.getMaxRows();    }    finally {      profiler.finish();    }  }  public void setMaxRows(int max)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setMaxRows(max);    }    finally {      profiler.finish();    }  }  public void setEscapeProcessing(boolean enable)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setEscapeProcessing(enable);    }    finally {      profiler.finish();    }  }  public int getQueryTimeout()    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      return _callableStatement.getQueryTimeout();    }    finally {      profiler.finish();    }  }  public void setQueryTimeout(int seconds)    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.setQueryTimeout(seconds);    }    finally {      profiler.finish();    }  }  public void cancel()    throws SQLException  {    Profiler profiler = _profilerPoint.start();    try {      _callableStatement.cancel();    }    finally {      profiler.finish();

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?