类 CallableStatementWrapper

java.lang.Object
cn.featherfly.common.db.wrapper.CallableStatementWrapper
所有已实现的接口:
java.lang.AutoCloseable

public class CallableStatementWrapper
extends java.lang.Object
implements java.lang.AutoCloseable

java.sql.PreparedStatement的包装类,包装所有检查异常(SQLEception)为非检查异常(JdbcException)

  • 构造器概要

    构造器
    构造器 说明
    CallableStatementWrapper​(java.sql.CallableStatement callableStatement, ConnectionWrapper connectionWrapper)
    Instantiates a new callable statement wrapper.
  • 方法概要

    修饰符和类型 方法 说明
    void addBatch()
    Adds the batch.
    void addBatch​(java.lang.String sql)
    Adds the batch.
    void cancel()
    Cancel.
    void clearBatch()
    Clear batch.
    void clearParameters()
    Clear parameters.
    void clearWarnings()
    Clear warnings.
    void close()
    Close.
    boolean execute()
    Execute.
    boolean execute​(java.lang.String sql)
    Execute.
    boolean execute​(java.lang.String sql, int autoGeneratedKeys)
    Execute.
    boolean execute​(java.lang.String sql, int[] columnIndexes)
    Execute.
    boolean execute​(java.lang.String sql, java.lang.String[] columnNames)
    Execute.
    int[] executeBatch()
    Execute batch.
    java.sql.ResultSet executeQuery()
    Execute query.
    java.sql.ResultSet executeQuery​(java.lang.String sql)
    Execute query.
    int executeUpdate()
    Execute update.
    int executeUpdate​(java.lang.String sql)
    Execute update.
    int executeUpdate​(java.lang.String sql, int autoGeneratedKeys)
    Execute update.
    int executeUpdate​(java.lang.String sql, int[] columnIndexes)
    Execute update.
    int executeUpdate​(java.lang.String sql, java.lang.String[] columnNames)
    Execute update.
    java.sql.Array getArray​(int parameterIndex)
    Gets the array.
    java.sql.Array getArray​(java.lang.String parameterName)
    Gets the array.
    java.math.BigDecimal getBigDecimal​(int parameterIndex)
    Gets the big decimal.
    java.math.BigDecimal getBigDecimal​(int parameterIndex, int scale)
    已过时。 
    java.math.BigDecimal getBigDecimal​(java.lang.String parameterName)
    Gets the big decimal.
    java.sql.Blob getBlob​(int parameterIndex)
    Gets the blob.
    java.sql.Blob getBlob​(java.lang.String parameterName)
    Gets the blob.
    boolean getBoolean​(int parameterIndex)
    Gets the boolean.
    boolean getBoolean​(java.lang.String parameterName)
    Gets the boolean.
    byte getByte​(int parameterIndex)
    Gets the byte.
    byte getByte​(java.lang.String parameterName)
    Gets the byte.
    byte[] getBytes​(int parameterIndex)
    Gets the bytes.
    byte[] getBytes​(java.lang.String parameterName)
    Gets the bytes.
    java.sql.CallableStatement getCallableStatement()
    Gets the callable statement.
    java.io.Reader getCharacterStream​(int parameterIndex)
    Gets the character stream.
    java.io.Reader getCharacterStream​(java.lang.String parameterName)
    Gets the character stream.
    java.sql.Clob getClob​(int parameterIndex)
    Gets the clob.
    java.sql.Clob getClob​(java.lang.String parameterName)
    Gets the clob.
    ConnectionWrapper getConnection()
    Gets the connection.
    java.sql.Date getDate​(int parameterIndex)
    Gets the date.
    java.sql.Date getDate​(int parameterIndex, java.util.Calendar cal)
    Gets the date.
    java.sql.Date getDate​(java.lang.String parameterName)
    Gets the date.
    java.sql.Date getDate​(java.lang.String parameterName, java.util.Calendar cal)
    Gets the date.
    double getDouble​(int parameterIndex)
    Gets the double.
    double getDouble​(java.lang.String parameterName)
    Gets the double.
    int getFetchDirection()
    Gets the fetch direction.
    int getFetchSize()
    Gets the fetch size.
    float getFloat​(int parameterIndex)
    Gets the float.
    float getFloat​(java.lang.String parameterName)
    Gets the float.
    java.sql.ResultSet getGeneratedKeys()
    Gets the generated keys.
    int getInt​(int parameterIndex)
    Gets the int.
    int getInt​(java.lang.String parameterName)
    Gets the int.
    long getLong​(int parameterIndex)
    Gets the long.
    long getLong​(java.lang.String parameterName)
    Gets the long.
    int getMaxFieldSize()
    Gets the max field size.
    int getMaxRows()
    Gets the max rows.
    java.sql.ResultSetMetaData getMetaData()
    Gets the meta data.
    boolean getMoreResults()
    Gets the more results.
    boolean getMoreResults​(int current)
    Gets the more results.
    java.io.Reader getNCharacterStream​(int parameterIndex)
    Gets the n character stream.
    java.io.Reader getNCharacterStream​(java.lang.String parameterName)
    Gets the n character stream.
    java.sql.NClob getNClob​(int parameterIndex)
    Gets the n clob.
    java.sql.NClob getNClob​(java.lang.String parameterName)
    Gets the n clob.
    java.lang.String getNString​(int parameterIndex)
    Gets the n string.
    java.lang.String getNString​(java.lang.String parameterName)
    Gets the n string.
    java.lang.Object getObject​(int parameterIndex)
    Gets the object.
    java.lang.Object getObject​(int parameterIndex, java.util.Map<java.lang.String,​java.lang.Class<?>> map)
    Gets the object.
    java.lang.Object getObject​(java.lang.String parameterName)
    Gets the object.
    java.lang.Object getObject​(java.lang.String parameterName, java.util.Map<java.lang.String,​java.lang.Class<?>> map)
    Gets the object.
    java.sql.ParameterMetaData getParameterMetaData()
    Gets the parameter meta data.
    int getQueryTimeout()
    Gets the query timeout.
    java.sql.Ref getRef​(int parameterIndex)
    Gets the ref.
    java.sql.Ref getRef​(java.lang.String parameterName)
    Gets the ref.
    java.sql.ResultSet getResultSet()
    Gets the result set.
    int getResultSetConcurrency()
    Gets the result set concurrency.
    int getResultSetHoldability()
    Gets the result set holdability.
    int getResultSetType()
    Gets the result set type.
    java.sql.RowId getRowId​(int parameterIndex)
    Gets the row id.
    java.sql.RowId getRowId​(java.lang.String parameterName)
    Gets the row id.
    short getShort​(int parameterIndex)
    Gets the short.
    short getShort​(java.lang.String parameterName)
    Gets the short.
    java.sql.SQLXML getSQLXML​(int parameterIndex)
    Gets the sqlxml.
    java.sql.SQLXML getSQLXML​(java.lang.String parameterName)
    Gets the sqlxml.
    java.lang.String getString​(int parameterIndex)
    Gets the string.
    java.lang.String getString​(java.lang.String parameterName)
    Gets the string.
    java.sql.Time getTime​(int parameterIndex)
    Gets the time.
    java.sql.Time getTime​(int parameterIndex, java.util.Calendar cal)
    Gets the time.
    java.sql.Time getTime​(java.lang.String parameterName)
    Gets the time.
    java.sql.Time getTime​(java.lang.String parameterName, java.util.Calendar cal)
    Gets the time.
    java.sql.Timestamp getTimestamp​(int parameterIndex)
    Gets the timestamp.
    java.sql.Timestamp getTimestamp​(int parameterIndex, java.util.Calendar cal)
    Gets the timestamp.
    java.sql.Timestamp getTimestamp​(java.lang.String parameterName)
    Gets the timestamp.
    java.sql.Timestamp getTimestamp​(java.lang.String parameterName, java.util.Calendar cal)
    Gets the timestamp.
    int getUpdateCount()
    Gets the update count.
    java.net.URL getURL​(int parameterIndex)
    Gets the url.
    java.net.URL getURL​(java.lang.String parameterName)
    Gets the url.
    java.sql.SQLWarning getWarnings()
    Gets the warnings.
    boolean isClosed()
    Checks if is closed.
    boolean isPoolable()
    Checks if is poolable.
    boolean isWrapperFor​(java.lang.Class<?> iface)
    Checks if is wrapper for.
    void registerOutParameter​(int parameterIndex, int sqlType)
    Register out parameter.
    void registerOutParameter​(int parameterIndex, int sqlType, int scale)
    Register out parameter.
    void registerOutParameter​(int parameterIndex, int sqlType, java.lang.String typeName)
    Register out parameter.
    void registerOutParameter​(java.lang.String parameterName, int sqlType)
    Register out parameter.
    void registerOutParameter​(java.lang.String parameterName, int sqlType, int scale)
    Register out parameter.
    void registerOutParameter​(java.lang.String parameterName, int sqlType, java.lang.String typeName)
    Register out parameter.
    void setArray​(int parameterIndex, java.sql.Array x)
    Sets the array.
    void setAsciiStream​(int parameterIndex, java.io.InputStream x)
    Sets the ascii stream.
    void setAsciiStream​(int parameterIndex, java.io.InputStream x, int length)
    Sets the ascii stream.
    void setAsciiStream​(int parameterIndex, java.io.InputStream x, long length)
    Sets the ascii stream.
    void setAsciiStream​(java.lang.String parameterName, java.io.InputStream x)
    Sets the ascii stream.
    void setAsciiStream​(java.lang.String parameterName, java.io.InputStream x, int length)
    Sets the ascii stream.
    void setAsciiStream​(java.lang.String parameterName, java.io.InputStream x, long length)
    Sets the ascii stream.
    void setBigDecimal​(int parameterIndex, java.math.BigDecimal x)
    Sets the big decimal.
    void setBigDecimal​(java.lang.String parameterName, java.math.BigDecimal x)
    Sets the big decimal.
    void setBinaryStream​(int parameterIndex, java.io.InputStream x)
    Sets the binary stream.
    void setBinaryStream​(int parameterIndex, java.io.InputStream x, int length)
    Sets the binary stream.
    void setBinaryStream​(int parameterIndex, java.io.InputStream x, long length)
    Sets the binary stream.
    void setBinaryStream​(java.lang.String parameterName, java.io.InputStream x)
    Sets the binary stream.
    void setBinaryStream​(java.lang.String parameterName, java.io.InputStream x, int length)
    Sets the binary stream.
    void setBinaryStream​(java.lang.String parameterName, java.io.InputStream x, long length)
    Sets the binary stream.
    void setBlob​(int parameterIndex, java.io.InputStream inputStream)
    Sets the blob.
    void setBlob​(int parameterIndex, java.io.InputStream inputStream, long length)
    Sets the blob.
    void setBlob​(int parameterIndex, java.sql.Blob x)
    Sets the blob.
    void setBlob​(java.lang.String parameterName, java.io.InputStream inputStream)
    Sets the blob.
    void setBlob​(java.lang.String parameterName, java.io.InputStream inputStream, long length)
    Sets the blob.
    void setBlob​(java.lang.String parameterName, java.sql.Blob x)
    Sets the blob.
    void setBoolean​(int parameterIndex, boolean x)
    Sets the boolean.
    void setBoolean​(java.lang.String parameterName, boolean x)
    Sets the boolean.
    void setByte​(int parameterIndex, byte x)
    Sets the byte.
    void setByte​(java.lang.String parameterName, byte x)
    Sets the byte.
    void setBytes​(int parameterIndex, byte[] x)
    Sets the bytes.
    void setBytes​(java.lang.String parameterName, byte[] x)
    Sets the bytes.
    void setCharacterStream​(int parameterIndex, java.io.Reader reader)
    Sets the character stream.
    void setCharacterStream​(int parameterIndex, java.io.Reader reader, int length)
    Sets the character stream.
    void setCharacterStream​(int parameterIndex, java.io.Reader reader, long length)
    Sets the character stream.
    void setCharacterStream​(java.lang.String parameterName, java.io.Reader reader)
    Sets the character stream.
    void setCharacterStream​(java.lang.String parameterName, java.io.Reader reader, int length)
    Sets the character stream.
    void setCharacterStream​(java.lang.String parameterName, java.io.Reader reader, long length)
    Sets the character stream.
    void setClob​(int parameterIndex, java.io.Reader reader)
    Sets the clob.
    void setClob​(int parameterIndex, java.io.Reader reader, long length)
    Sets the clob.
    void setClob​(int parameterIndex, java.sql.Clob x)
    Sets the clob.
    void setClob​(java.lang.String parameterName, java.io.Reader reader)
    Sets the clob.
    void setClob​(java.lang.String parameterName, java.io.Reader reader, long length)
    Sets the clob.
    void setClob​(java.lang.String parameterName, java.sql.Clob x)
    Sets the clob.
    void setCursorName​(java.lang.String name)
    Sets the cursor name.
    void setDate​(int parameterIndex, java.sql.Date x)
    Sets the date.
    void setDate​(int parameterIndex, java.sql.Date x, java.util.Calendar cal)
    Sets the date.
    void setDate​(java.lang.String parameterName, java.sql.Date x)
    Sets the date.
    void setDate​(java.lang.String parameterName, java.sql.Date x, java.util.Calendar cal)
    Sets the date.
    void setDouble​(int parameterIndex, double x)
    Sets the double.
    void setDouble​(java.lang.String parameterName, double x)
    Sets the double.
    void setEscapeProcessing​(boolean enable)
    Sets the escape processing.
    void setFetchDirection​(int direction)
    Sets the fetch direction.
    void setFetchSize​(int rows)
    Sets the fetch size.
    void setFloat​(int parameterIndex, float x)
    Sets the float.
    void setFloat​(java.lang.String parameterName, float x)
    Sets the float.
    void setInt​(int parameterIndex, int x)
    Sets the int.
    void setInt​(java.lang.String parameterName, int x)
    Sets the int.
    void setLong​(int parameterIndex, long x)
    Sets the long.
    void setLong​(java.lang.String parameterName, long x)
    Sets the long.
    void setMaxFieldSize​(int max)
    Sets the max field size.
    void setMaxRows​(int max)
    Sets the max rows.
    void setNCharacterStream​(int parameterIndex, java.io.Reader value)
    Sets the N character stream.
    void setNCharacterStream​(int parameterIndex, java.io.Reader value, long length)
    Sets the N character stream.
    void setNCharacterStream​(java.lang.String parameterName, java.io.Reader value)
    Sets the N character stream.
    void setNCharacterStream​(java.lang.String parameterName, java.io.Reader value, long length)
    Sets the N character stream.
    void setNClob​(int parameterIndex, java.io.Reader reader)
    Sets the N clob.
    void setNClob​(int parameterIndex, java.io.Reader reader, long length)
    Sets the N clob.
    void setNClob​(int parameterIndex, java.sql.NClob value)
    Sets the N clob.
    void setNClob​(java.lang.String parameterName, java.io.Reader reader)
    Sets the N clob.
    void setNClob​(java.lang.String parameterName, java.io.Reader reader, long length)
    Sets the N clob.
    void setNClob​(java.lang.String parameterName, java.sql.NClob value)
    Sets the N clob.
    void setNString​(int parameterIndex, java.lang.String value)
    Sets the N string.
    void setNString​(java.lang.String parameterName, java.lang.String value)
    Sets the N string.
    void setNull​(int parameterIndex, int sqlType)
    Sets the null.
    void setNull​(int parameterIndex, int sqlType, java.lang.String typeName)
    Sets the null.
    void setNull​(java.lang.String parameterName, int sqlType)
    Sets the null.
    void setNull​(java.lang.String parameterName, int sqlType, java.lang.String typeName)
    Sets the null.
    void setObject​(int parameterIndex, java.lang.Object x)
    Sets the object.
    void setObject​(int parameterIndex, java.lang.Object x, int targetSqlType)
    Sets the object.
    void setObject​(int parameterIndex, java.lang.Object x, int targetSqlType, int scaleOrLength)
    Sets the object.
    void setObject​(java.lang.String parameterName, java.lang.Object x)
    Sets the object.
    void setObject​(java.lang.String parameterName, java.lang.Object x, int targetSqlType)
    Sets the object.
    void setObject​(java.lang.String parameterName, java.lang.Object x, int targetSqlType, int scale)
    Sets the object.
    void setPoolable​(boolean poolable)
    Sets the poolable.
    void setQueryTimeout​(int seconds)
    Sets the query timeout.
    void setRef​(int parameterIndex, java.sql.Ref x)
    Sets the ref.
    void setRowId​(int parameterIndex, java.sql.RowId x)
    Sets the row id.
    void setRowId​(java.lang.String parameterName, java.sql.RowId x)
    Sets the row id.
    void setShort​(int parameterIndex, short x)
    Sets the short.
    void setShort​(java.lang.String parameterName, short x)
    Sets the short.
    void setSQLXML​(int parameterIndex, java.sql.SQLXML xmlObject)
    Sets the SQLXML.
    void setSQLXML​(java.lang.String parameterName, java.sql.SQLXML xmlObject)
    Sets the SQLXML.
    void setString​(int parameterIndex, java.lang.String x)
    Sets the string.
    void setString​(java.lang.String parameterName, java.lang.String x)
    Sets the string.
    void setTime​(int parameterIndex, java.sql.Time x)
    Sets the time.
    void setTime​(int parameterIndex, java.sql.Time x, java.util.Calendar cal)
    Sets the time.
    void setTime​(java.lang.String parameterName, java.sql.Time x)
    Sets the time.
    void setTime​(java.lang.String parameterName, java.sql.Time x, java.util.Calendar cal)
    Sets the time.
    void setTimestamp​(int parameterIndex, java.sql.Timestamp x)
    Sets the timestamp.
    void setTimestamp​(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal)
    Sets the timestamp.
    void setTimestamp​(java.lang.String parameterName, java.sql.Timestamp x)
    Sets the timestamp.
    void setTimestamp​(java.lang.String parameterName, java.sql.Timestamp x, java.util.Calendar cal)
    Sets the timestamp.
    void setUnicodeStream​(int parameterIndex, java.io.InputStream x, int length)
    已过时。 
    void setURL​(int parameterIndex, java.net.URL x)
    Sets the URL.
    void setURL​(java.lang.String parameterName, java.net.URL val)
    Sets the URL.
    <T> T unwrap​(java.lang.Class<T> iface)
    Unwrap.
    boolean wasNull()
    Was null.

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • CallableStatementWrapper

      public CallableStatementWrapper​(java.sql.CallableStatement callableStatement, ConnectionWrapper connectionWrapper)
      Instantiates a new callable statement wrapper.
      参数:
      callableStatement - callableStatement
      connectionWrapper - connectionWrapper
  • 方法详细资料

    • addBatch

      public void addBatch()
      Adds the batch.
      另请参阅:
      PreparedStatement
    • clearParameters

      public void clearParameters()
      Clear parameters.
      另请参阅:
      PreparedStatement
    • execute

      public boolean execute()
      Execute.
      返回:
      true, if successful
      另请参阅:
      PreparedStatement
    • executeQuery

      public java.sql.ResultSet executeQuery()
      Execute query.
      返回:
      the result set
      另请参阅:
      PreparedStatement
    • executeUpdate

      public int executeUpdate()
      Execute update.
      返回:
      the int
      另请参阅:
      PreparedStatement
    • getMetaData

      public java.sql.ResultSetMetaData getMetaData()
      Gets the meta data.
      返回:
      the meta data
      另请参阅:
      PreparedStatement
    • getParameterMetaData

      public java.sql.ParameterMetaData getParameterMetaData()
      Gets the parameter meta data.
      返回:
      the parameter meta data
      另请参阅:
      PreparedStatement
    • setArray

      public void setArray​(int parameterIndex, java.sql.Array x)
      Sets the array.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setAsciiStream

      public void setAsciiStream​(int parameterIndex, java.io.InputStream x)
      Sets the ascii stream.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setAsciiStream

      public void setAsciiStream​(int parameterIndex, java.io.InputStream x, int length)
      Sets the ascii stream.
      参数:
      parameterIndex - the parameter index
      x - the x
      length - the length
      另请参阅:
      PreparedStatement
    • setAsciiStream

      public void setAsciiStream​(int parameterIndex, java.io.InputStream x, long length)
      Sets the ascii stream.
      参数:
      parameterIndex - the parameter index
      x - the x
      length - the length
      另请参阅:
      PreparedStatement
    • setBigDecimal

      public void setBigDecimal​(int parameterIndex, java.math.BigDecimal x)
      Sets the big decimal.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setBinaryStream

      public void setBinaryStream​(int parameterIndex, java.io.InputStream x)
      Sets the binary stream.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setBinaryStream

      public void setBinaryStream​(int parameterIndex, java.io.InputStream x, int length)
      Sets the binary stream.
      参数:
      parameterIndex - the parameter index
      x - the x
      length - the length
      另请参阅:
      PreparedStatement
    • setBinaryStream

      public void setBinaryStream​(int parameterIndex, java.io.InputStream x, long length)
      Sets the binary stream.
      参数:
      parameterIndex - the parameter index
      x - the x
      length - the length
      另请参阅:
      PreparedStatement
    • setBlob

      public void setBlob​(int parameterIndex, java.sql.Blob x)
      Sets the blob.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setBlob

      public void setBlob​(int parameterIndex, java.io.InputStream inputStream)
      Sets the blob.
      参数:
      parameterIndex - the parameter index
      inputStream - the input stream
      另请参阅:
      PreparedStatement
    • setBlob

      public void setBlob​(int parameterIndex, java.io.InputStream inputStream, long length)
      Sets the blob.
      参数:
      parameterIndex - the parameter index
      inputStream - the input stream
      length - the length
      另请参阅:
      PreparedStatement
    • setBoolean

      public void setBoolean​(int parameterIndex, boolean x)
      Sets the boolean.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setByte

      public void setByte​(int parameterIndex, byte x)
      Sets the byte.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setBytes

      public void setBytes​(int parameterIndex, byte[] x)
      Sets the bytes.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setCharacterStream

      public void setCharacterStream​(int parameterIndex, java.io.Reader reader)
      Sets the character stream.
      参数:
      parameterIndex - the parameter index
      reader - the reader
      另请参阅:
      PreparedStatement
    • setCharacterStream

      public void setCharacterStream​(int parameterIndex, java.io.Reader reader, int length)
      Sets the character stream.
      参数:
      parameterIndex - the parameter index
      reader - the reader
      length - the length
      另请参阅:
      PreparedStatement
    • setCharacterStream

      public void setCharacterStream​(int parameterIndex, java.io.Reader reader, long length)
      Sets the character stream.
      参数:
      parameterIndex - the parameter index
      reader - the reader
      length - the length
      另请参阅:
      PreparedStatement
    • setClob

      public void setClob​(int parameterIndex, java.sql.Clob x)
      Sets the clob.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setClob

      public void setClob​(int parameterIndex, java.io.Reader reader)
      Sets the clob.
      参数:
      parameterIndex - the parameter index
      reader - the reader
      另请参阅:
      PreparedStatement
    • setClob

      public void setClob​(int parameterIndex, java.io.Reader reader, long length)
      Sets the clob.
      参数:
      parameterIndex - the parameter index
      reader - the reader
      length - the length
      另请参阅:
      PreparedStatement
    • setDate

      public void setDate​(int parameterIndex, java.sql.Date x)
      Sets the date.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setDate

      public void setDate​(int parameterIndex, java.sql.Date x, java.util.Calendar cal)
      Sets the date.
      参数:
      parameterIndex - the parameter index
      x - the x
      cal - the cal
      另请参阅:
      PreparedStatement
    • setDouble

      public void setDouble​(int parameterIndex, double x)
      Sets the double.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setFloat

      public void setFloat​(int parameterIndex, float x)
      Sets the float.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setInt

      public void setInt​(int parameterIndex, int x)
      Sets the int.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setLong

      public void setLong​(int parameterIndex, long x)
      Sets the long.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setNCharacterStream

      public void setNCharacterStream​(int parameterIndex, java.io.Reader value)
      Sets the N character stream.
      参数:
      parameterIndex - the parameter index
      value - the value
      另请参阅:
      PreparedStatement
    • setNCharacterStream

      public void setNCharacterStream​(int parameterIndex, java.io.Reader value, long length)
      Sets the N character stream.
      参数:
      parameterIndex - the parameter index
      value - the value
      length - the length
      另请参阅:
      PreparedStatement
    • setNClob

      public void setNClob​(int parameterIndex, java.sql.NClob value)
      Sets the N clob.
      参数:
      parameterIndex - the parameter index
      value - the value
      另请参阅:
      PreparedStatement
    • setNClob

      public void setNClob​(int parameterIndex, java.io.Reader reader)
      Sets the N clob.
      参数:
      parameterIndex - the parameter index
      reader - the reader
      另请参阅:
      PreparedStatement
    • setNClob

      public void setNClob​(int parameterIndex, java.io.Reader reader, long length)
      Sets the N clob.
      参数:
      parameterIndex - the parameter index
      reader - the reader
      length - the length
      另请参阅:
      PreparedStatement
    • setNString

      public void setNString​(int parameterIndex, java.lang.String value)
      Sets the N string.
      参数:
      parameterIndex - the parameter index
      value - the value
      另请参阅:
      PreparedStatement
    • setNull

      public void setNull​(int parameterIndex, int sqlType)
      Sets the null.
      参数:
      parameterIndex - the parameter index
      sqlType - the sql type
      另请参阅:
      PreparedStatement
    • setNull

      public void setNull​(int parameterIndex, int sqlType, java.lang.String typeName)
      Sets the null.
      参数:
      parameterIndex - the parameter index
      sqlType - the sql type
      typeName - the type name
      另请参阅:
      PreparedStatement
    • setObject

      public void setObject​(int parameterIndex, java.lang.Object x)
      Sets the object.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setObject

      public void setObject​(int parameterIndex, java.lang.Object x, int targetSqlType)
      Sets the object.
      参数:
      parameterIndex - the parameter index
      x - the x
      targetSqlType - the target sql type
      另请参阅:
      PreparedStatement
    • setObject

      public void setObject​(int parameterIndex, java.lang.Object x, int targetSqlType, int scaleOrLength)
      Sets the object.
      参数:
      parameterIndex - the parameter index
      x - the x
      targetSqlType - the target sql type
      scaleOrLength - the scale or length
      另请参阅:
      PreparedStatement
    • setRef

      public void setRef​(int parameterIndex, java.sql.Ref x)
      Sets the ref.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setRowId

      public void setRowId​(int parameterIndex, java.sql.RowId x)
      Sets the row id.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setSQLXML

      public void setSQLXML​(int parameterIndex, java.sql.SQLXML xmlObject)
      Sets the SQLXML.
      参数:
      parameterIndex - the parameter index
      xmlObject - the xml object
      另请参阅:
      PreparedStatement
    • setShort

      public void setShort​(int parameterIndex, short x)
      Sets the short.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setString

      public void setString​(int parameterIndex, java.lang.String x)
      Sets the string.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setTime

      public void setTime​(int parameterIndex, java.sql.Time x)
      Sets the time.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setTime

      public void setTime​(int parameterIndex, java.sql.Time x, java.util.Calendar cal)
      Sets the time.
      参数:
      parameterIndex - the parameter index
      x - the x
      cal - the cal
      另请参阅:
      PreparedStatement
    • setTimestamp

      public void setTimestamp​(int parameterIndex, java.sql.Timestamp x)
      Sets the timestamp.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setTimestamp

      public void setTimestamp​(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal)
      Sets the timestamp.
      参数:
      parameterIndex - the parameter index
      x - the x
      cal - the cal
      另请参阅:
      PreparedStatement
    • setURL

      public void setURL​(int parameterIndex, java.net.URL x)
      Sets the URL.
      参数:
      parameterIndex - the parameter index
      x - the x
      另请参阅:
      PreparedStatement
    • setUnicodeStream

      @Deprecated public void setUnicodeStream​(int parameterIndex, java.io.InputStream x, int length)
      已过时。
      Sets the unicode stream.
      参数:
      parameterIndex - the parameter index
      x - the x
      length - the length
      另请参阅:
      PreparedStatement
    • addBatch

      public void addBatch​(java.lang.String sql)
      Adds the batch.
      参数:
      sql - the sql
      另请参阅:
      PreparedStatement
    • cancel

      public void cancel()
      Cancel.
      另请参阅:
      PreparedStatement
    • clearBatch

      public void clearBatch()
      Clear batch.
      另请参阅:
      PreparedStatement
    • clearWarnings

      public void clearWarnings()
      Clear warnings.
      另请参阅:
      PreparedStatement
    • close

      public void close()
      Close.
      指定者:
      close 在接口中 java.lang.AutoCloseable
      另请参阅:
      PreparedStatement
    • execute

      public boolean execute​(java.lang.String sql)
      Execute.
      参数:
      sql - the sql
      返回:
      true, if successful
      另请参阅:
      PreparedStatement
    • execute

      public boolean execute​(java.lang.String sql, int autoGeneratedKeys)
      Execute.
      参数:
      sql - the sql
      autoGeneratedKeys - the auto generated keys
      返回:
      true, if successful
      另请参阅:
      PreparedStatement
    • execute

      public boolean execute​(java.lang.String sql, int[] columnIndexes)
      Execute.
      参数:
      sql - the sql
      columnIndexes - the column indexes
      返回:
      true, if successful
      另请参阅:
      PreparedStatement
    • execute

      public boolean execute​(java.lang.String sql, java.lang.String[] columnNames)
      Execute.
      参数:
      sql - the sql
      columnNames - the column names
      返回:
      true, if successful
      另请参阅:
      PreparedStatement
    • executeBatch

      public int[] executeBatch()
      Execute batch.
      返回:
      the int[]
      另请参阅:
      PreparedStatement
    • executeQuery

      public java.sql.ResultSet executeQuery​(java.lang.String sql)
      Execute query.
      参数:
      sql - the sql
      返回:
      the result set
      另请参阅:
      PreparedStatement
    • executeUpdate

      public int executeUpdate​(java.lang.String sql)
      Execute update.
      参数:
      sql - the sql
      返回:
      the int
      另请参阅:
      PreparedStatement
    • executeUpdate

      public int executeUpdate​(java.lang.String sql, int autoGeneratedKeys)
      Execute update.
      参数:
      sql - the sql
      autoGeneratedKeys - the auto generated keys
      返回:
      the int
      另请参阅:
      PreparedStatement
    • executeUpdate

      public int executeUpdate​(java.lang.String sql, int[] columnIndexes)
      Execute update.
      参数:
      sql - the sql
      columnIndexes - the column indexes
      返回:
      the int
      另请参阅:
      PreparedStatement
    • executeUpdate

      public int executeUpdate​(java.lang.String sql, java.lang.String[] columnNames)
      Execute update.
      参数:
      sql - the sql
      columnNames - the column names
      返回:
      the int
      另请参阅:
      PreparedStatement
    • getConnection

      public ConnectionWrapper getConnection()
      Gets the connection.
      返回:
      the connection
      另请参阅:
      PreparedStatement
    • getFetchDirection

      public int getFetchDirection()
      Gets the fetch direction.
      返回:
      the fetch direction
      另请参阅:
      PreparedStatement
    • getFetchSize

      public int getFetchSize()
      Gets the fetch size.
      返回:
      the fetch size
      另请参阅:
      PreparedStatement
    • getGeneratedKeys

      public java.sql.ResultSet getGeneratedKeys()
      Gets the generated keys.
      返回:
      the generated keys
      另请参阅:
      PreparedStatement
    • getMaxFieldSize

      public int getMaxFieldSize()
      Gets the max field size.
      返回:
      the max field size
      另请参阅:
      PreparedStatement
    • getMaxRows

      public int getMaxRows()
      Gets the max rows.
      返回:
      the max rows
      另请参阅:
      PreparedStatement
    • getMoreResults

      public boolean getMoreResults()
      Gets the more results.
      返回:
      the more results
      另请参阅:
      PreparedStatement
    • getMoreResults

      public boolean getMoreResults​(int current)
      Gets the more results.
      参数:
      current - the current
      返回:
      the more results
      另请参阅:
      PreparedStatement
    • getQueryTimeout

      public int getQueryTimeout()
      Gets the query timeout.
      返回:
      the query timeout
      另请参阅:
      PreparedStatement
    • getResultSet

      public java.sql.ResultSet getResultSet()
      Gets the result set.
      返回:
      the result set
      另请参阅:
      PreparedStatement
    • getResultSetConcurrency

      public int getResultSetConcurrency()
      Gets the result set concurrency.
      返回:
      the result set concurrency
      另请参阅:
      PreparedStatement
    • getResultSetHoldability

      public int getResultSetHoldability()
      Gets the result set holdability.
      返回:
      the result set holdability
      另请参阅:
      PreparedStatement
    • getResultSetType

      public int getResultSetType()
      Gets the result set type.
      返回:
      the result set type
      另请参阅:
      PreparedStatement
    • getUpdateCount

      public int getUpdateCount()
      Gets the update count.
      返回:
      the update count
      另请参阅:
      PreparedStatement
    • getWarnings

      public java.sql.SQLWarning getWarnings()
      Gets the warnings.
      返回:
      the warnings
      另请参阅:
      PreparedStatement
    • isClosed

      public boolean isClosed()
      Checks if is closed.
      返回:
      true, if is closed
      另请参阅:
      PreparedStatement
    • isPoolable

      public boolean isPoolable()
      Checks if is poolable.
      返回:
      true, if is poolable
      另请参阅:
      PreparedStatement
    • setCursorName

      public void setCursorName​(java.lang.String name)
      Sets the cursor name.
      参数:
      name - the new cursor name
      另请参阅:
      PreparedStatement
    • setEscapeProcessing

      public void setEscapeProcessing​(boolean enable)
      Sets the escape processing.
      参数:
      enable - the new escape processing
      另请参阅:
      PreparedStatement
    • setFetchDirection

      public void setFetchDirection​(int direction)
      Sets the fetch direction.
      参数:
      direction - the new fetch direction
      另请参阅:
      PreparedStatement
    • setFetchSize

      public void setFetchSize​(int rows)
      Sets the fetch size.
      参数:
      rows - the new fetch size
      另请参阅:
      PreparedStatement
    • setMaxFieldSize

      public void setMaxFieldSize​(int max)
      Sets the max field size.
      参数:
      max - the new max field size
      另请参阅:
      PreparedStatement
    • setMaxRows

      public void setMaxRows​(int max)
      Sets the max rows.
      参数:
      max - the new max rows
      另请参阅:
      PreparedStatement
    • setPoolable

      public void setPoolable​(boolean poolable)
      Sets the poolable.
      参数:
      poolable - the new poolable
      另请参阅:
      PreparedStatement
    • setQueryTimeout

      public void setQueryTimeout​(int seconds)
      Sets the query timeout.
      参数:
      seconds - the new query timeout
      另请参阅:
      PreparedStatement
    • isWrapperFor

      public boolean isWrapperFor​(java.lang.Class<?> iface)
      Checks if is wrapper for.
      参数:
      iface - the iface
      返回:
      true, if is wrapper for
      另请参阅:
      PreparedStatement
    • unwrap

      public <T> T unwrap​(java.lang.Class<T> iface)
      Unwrap.
      类型参数:
      T - the generic type
      参数:
      iface - the iface
      返回:
      the t
      另请参阅:
      PreparedStatement
    • getArray

      public java.sql.Array getArray​(int parameterIndex)
      Gets the array.
      参数:
      parameterIndex - the parameter index
      返回:
      the array
      另请参阅:
      PreparedStatement
    • getArray

      public java.sql.Array getArray​(java.lang.String parameterName)
      Gets the array.
      参数:
      parameterName - the parameter name
      返回:
      the array
      另请参阅:
      PreparedStatement
    • getBigDecimal

      public java.math.BigDecimal getBigDecimal​(int parameterIndex)
      Gets the big decimal.
      参数:
      parameterIndex - the parameter index
      返回:
      the big decimal
      另请参阅:
      PreparedStatement
    • getBigDecimal

      public java.math.BigDecimal getBigDecimal​(java.lang.String parameterName)
      Gets the big decimal.
      参数:
      parameterName - the parameter name
      返回:
      the big decimal
      另请参阅:
      PreparedStatement
    • getBigDecimal

      @Deprecated public java.math.BigDecimal getBigDecimal​(int parameterIndex, int scale)
      已过时。
      Gets the big decimal.
      参数:
      parameterIndex - the parameter index
      scale - the scale
      返回:
      the big decimal
      另请参阅:
      PreparedStatement
    • getBlob

      public java.sql.Blob getBlob​(int parameterIndex)
      Gets the blob.
      参数:
      parameterIndex - the parameter index
      返回:
      the blob
      另请参阅:
      PreparedStatement
    • getBlob

      public java.sql.Blob getBlob​(java.lang.String parameterName)
      Gets the blob.
      参数:
      parameterName - the parameter name
      返回:
      the blob
      另请参阅:
      PreparedStatement
    • getBoolean

      public boolean getBoolean​(int parameterIndex)
      Gets the boolean.
      参数:
      parameterIndex - the parameter index
      返回:
      the boolean
      另请参阅:
      PreparedStatement
    • getBoolean

      public boolean getBoolean​(java.lang.String parameterName)
      Gets the boolean.
      参数:
      parameterName - the parameter name
      返回:
      the boolean
      另请参阅:
      PreparedStatement
    • getByte

      public byte getByte​(int parameterIndex)
      Gets the byte.
      参数:
      parameterIndex - the parameter index
      返回:
      the byte
      另请参阅:
      PreparedStatement
    • getByte

      public byte getByte​(java.lang.String parameterName)
      Gets the byte.
      参数:
      parameterName - the parameter name
      返回:
      the byte
      另请参阅:
      PreparedStatement
    • getBytes

      public byte[] getBytes​(int parameterIndex)
      Gets the bytes.
      参数:
      parameterIndex - the parameter index
      返回:
      the bytes
      另请参阅:
      PreparedStatement
    • getBytes

      public byte[] getBytes​(java.lang.String parameterName)
      Gets the bytes.
      参数:
      parameterName - the parameter name
      返回:
      the bytes
      另请参阅:
      PreparedStatement
    • getCharacterStream

      public java.io.Reader getCharacterStream​(int parameterIndex)
      Gets the character stream.
      参数:
      parameterIndex - the parameter index
      返回:
      the character stream
      另请参阅:
      PreparedStatement
    • getCharacterStream

      public java.io.Reader getCharacterStream​(java.lang.String parameterName)
      Gets the character stream.
      参数:
      parameterName - the parameter name
      返回:
      the character stream
      另请参阅:
      PreparedStatement
    • getClob

      public java.sql.Clob getClob​(int parameterIndex)
      Gets the clob.
      参数:
      parameterIndex - the parameter index
      返回:
      the clob
      另请参阅:
      PreparedStatement
    • getClob

      public java.sql.Clob getClob​(java.lang.String parameterName)
      Gets the clob.
      参数:
      parameterName - the parameter name
      返回:
      the clob
      另请参阅:
      PreparedStatement
    • getDate

      public java.sql.Date getDate​(int parameterIndex)
      Gets the date.
      参数:
      parameterIndex - the parameter index
      返回:
      the date
      另请参阅:
      PreparedStatement
    • getDate

      public java.sql.Date getDate​(java.lang.String parameterName)
      Gets the date.
      参数:
      parameterName - the parameter name
      返回:
      the date
      另请参阅:
      PreparedStatement
    • getDate

      public java.sql.Date getDate​(int parameterIndex, java.util.Calendar cal)
      Gets the date.
      参数:
      parameterIndex - the parameter index
      cal - the cal
      返回:
      the date
      另请参阅:
      PreparedStatement
    • getDate

      public java.sql.Date getDate​(java.lang.String parameterName, java.util.Calendar cal)
      Gets the date.
      参数:
      parameterName - the parameter name
      cal - the cal
      返回:
      the date
      另请参阅:
      PreparedStatement
    • getDouble

      public double getDouble​(int parameterIndex)
      Gets the double.
      参数:
      parameterIndex - the parameter index
      返回:
      the double
      另请参阅:
      PreparedStatement
    • getDouble

      public double getDouble​(java.lang.String parameterName)
      Gets the double.
      参数:
      parameterName - the parameter name
      返回:
      the double
      另请参阅:
      PreparedStatement
    • getFloat

      public float getFloat​(int parameterIndex)
      Gets the float.
      参数:
      parameterIndex - the parameter index
      返回:
      the float
      另请参阅:
      PreparedStatement
    • getFloat

      public float getFloat​(java.lang.String parameterName)
      Gets the float.
      参数:
      parameterName - the parameter name
      返回:
      the float
      另请参阅:
      PreparedStatement
    • getInt

      public int getInt​(int parameterIndex)
      Gets the int.
      参数:
      parameterIndex - the parameter index
      返回:
      the int
      另请参阅:
      PreparedStatement
    • getInt

      public int getInt​(java.lang.String parameterName)
      Gets the int.
      参数:
      parameterName - the parameter name
      返回:
      the int
      另请参阅:
      PreparedStatement
    • getLong

      public long getLong​(int parameterIndex)
      Gets the long.
      参数:
      parameterIndex - the parameter index
      返回:
      the long
      另请参阅:
      PreparedStatement
    • getLong

      public long getLong​(java.lang.String parameterName)
      Gets the long.
      参数:
      parameterName - the parameter name
      返回:
      the long
      另请参阅:
      PreparedStatement
    • getNCharacterStream

      public java.io.Reader getNCharacterStream​(int parameterIndex)
      Gets the n character stream.
      参数:
      parameterIndex - the parameter index
      返回:
      the n character stream
      另请参阅:
      PreparedStatement
    • getNCharacterStream

      public java.io.Reader getNCharacterStream​(java.lang.String parameterName)
      Gets the n character stream.
      参数:
      parameterName - the parameter name
      返回:
      the n character stream
      另请参阅:
      PreparedStatement
    • getNClob

      public java.sql.NClob getNClob​(int parameterIndex)
      Gets the n clob.
      参数:
      parameterIndex - the parameter index
      返回:
      the n clob
      另请参阅:
      PreparedStatement
    • getNClob

      public java.sql.NClob getNClob​(java.lang.String parameterName)
      Gets the n clob.
      参数:
      parameterName - the parameter name
      返回:
      the n clob
      另请参阅:
      PreparedStatement
    • getNString

      public java.lang.String getNString​(int parameterIndex)
      Gets the n string.
      参数:
      parameterIndex - the parameter index
      返回:
      the n string
      另请参阅:
      PreparedStatement
    • getNString

      public java.lang.String getNString​(java.lang.String parameterName)
      Gets the n string.
      参数:
      parameterName - the parameter name
      返回:
      the n string
      另请参阅:
      PreparedStatement
    • getObject

      public java.lang.Object getObject​(int parameterIndex)
      Gets the object.
      参数:
      parameterIndex - the parameter index
      返回:
      the object
      另请参阅:
      PreparedStatement
    • getObject

      public java.lang.Object getObject​(java.lang.String parameterName)
      Gets the object.
      参数:
      parameterName - the parameter name
      返回:
      the object
      另请参阅:
      PreparedStatement
    • getObject

      public java.lang.Object getObject​(int parameterIndex, java.util.Map<java.lang.String,​java.lang.Class<?>> map)
      Gets the object.
      参数:
      parameterIndex - the parameter index
      map - the map
      返回:
      the object
      另请参阅:
      PreparedStatement
    • getObject

      public java.lang.Object getObject​(java.lang.String parameterName, java.util.Map<java.lang.String,​java.lang.Class<?>> map)
      Gets the object.
      参数:
      parameterName - the parameter name
      map - the map
      返回:
      the object
      另请参阅:
      PreparedStatement
    • getRef

      public java.sql.Ref getRef​(int parameterIndex)
      Gets the ref.
      参数:
      parameterIndex - the parameter index
      返回:
      the ref
      另请参阅:
      PreparedStatement
    • getRef

      public java.sql.Ref getRef​(java.lang.String parameterName)
      Gets the ref.
      参数:
      parameterName - the parameter name
      返回:
      the ref
      另请参阅:
      PreparedStatement
    • getRowId

      public java.sql.RowId getRowId​(int parameterIndex)
      Gets the row id.
      参数:
      parameterIndex - the parameter index
      返回:
      the row id
      另请参阅:
      PreparedStatement
    • getRowId

      public java.sql.RowId getRowId​(java.lang.String parameterName)
      Gets the row id.
      参数:
      parameterName - the parameter name
      返回:
      the row id
      另请参阅:
      PreparedStatement
    • getSQLXML

      public java.sql.SQLXML getSQLXML​(int parameterIndex)
      Gets the sqlxml.
      参数:
      parameterIndex - the parameter index
      返回:
      the sqlxml
      另请参阅:
      PreparedStatement
    • getSQLXML

      public java.sql.SQLXML getSQLXML​(java.lang.String parameterName)
      Gets the sqlxml.
      参数:
      parameterName - the parameter name
      返回:
      the sqlxml
      另请参阅:
      PreparedStatement
    • getShort

      public short getShort​(int parameterIndex)
      Gets the short.
      参数:
      parameterIndex - the parameter index
      返回:
      the short
      另请参阅:
      PreparedStatement
    • getShort

      public short getShort​(java.lang.String parameterName)
      Gets the short.
      参数:
      parameterName - the parameter name
      返回:
      the short
      另请参阅:
      PreparedStatement
    • getString

      public java.lang.String getString​(int parameterIndex)
      Gets the string.
      参数:
      parameterIndex - the parameter index
      返回:
      the string
      另请参阅:
      PreparedStatement
    • getString

      public java.lang.String getString​(java.lang.String parameterName)
      Gets the string.
      参数:
      parameterName - the parameter name
      返回:
      the string
      另请参阅:
      PreparedStatement
    • getTime

      public java.sql.Time getTime​(int parameterIndex)
      Gets the time.
      参数:
      parameterIndex - the parameter index
      返回:
      the time
      另请参阅:
      PreparedStatement
    • getTime

      public java.sql.Time getTime​(java.lang.String parameterName)
      Gets the time.
      参数:
      parameterName - the parameter name
      返回:
      the time
      另请参阅:
      PreparedStatement
    • getTime

      public java.sql.Time getTime​(int parameterIndex, java.util.Calendar cal)
      Gets the time.
      参数:
      parameterIndex - the parameter index
      cal - the cal
      返回:
      the time
      另请参阅:
      PreparedStatement
    • getTime

      public java.sql.Time getTime​(java.lang.String parameterName, java.util.Calendar cal)
      Gets the time.
      参数:
      parameterName - the parameter name
      cal - the cal
      返回:
      the time
      另请参阅:
      PreparedStatement
    • getTimestamp

      public java.sql.Timestamp getTimestamp​(int parameterIndex)
      Gets the timestamp.
      参数:
      parameterIndex - the parameter index
      返回:
      the timestamp
      另请参阅:
      PreparedStatement
    • getTimestamp

      public java.sql.Timestamp getTimestamp​(java.lang.String parameterName)
      Gets the timestamp.
      参数:
      parameterName - the parameter name
      返回:
      the timestamp
      另请参阅:
      PreparedStatement
    • getTimestamp

      public java.sql.Timestamp getTimestamp​(int parameterIndex, java.util.Calendar cal)
      Gets the timestamp.
      参数:
      parameterIndex - the parameter index
      cal - the cal
      返回:
      the timestamp
      另请参阅:
      PreparedStatement
    • getTimestamp

      public java.sql.Timestamp getTimestamp​(java.lang.String parameterName, java.util.Calendar cal)
      Gets the timestamp.
      参数:
      parameterName - the parameter name
      cal - the cal
      返回:
      the timestamp
      另请参阅:
      PreparedStatement
    • getURL

      public java.net.URL getURL​(int parameterIndex)
      Gets the url.
      参数:
      parameterIndex - the parameter index
      返回:
      the url
      另请参阅:
      PreparedStatement
    • getURL

      public java.net.URL getURL​(java.lang.String parameterName)
      Gets the url.
      参数:
      parameterName - the parameter name
      返回:
      the url
      另请参阅:
      PreparedStatement
    • registerOutParameter

      public void registerOutParameter​(int parameterIndex, int sqlType)
      Register out parameter.
      参数:
      parameterIndex - the parameter index
      sqlType - the sql type
      另请参阅:
      PreparedStatement
    • registerOutParameter

      public void registerOutParameter​(java.lang.String parameterName, int sqlType)
      Register out parameter.
      参数:
      parameterName - the parameter name
      sqlType - the sql type
      另请参阅:
      PreparedStatement
    • registerOutParameter

      public void registerOutParameter​(int parameterIndex, int sqlType, int scale)
      Register out parameter.
      参数:
      parameterIndex - the parameter index
      sqlType - the sql type
      scale - the scale
      另请参阅:
      PreparedStatement
    • registerOutParameter

      public void registerOutParameter​(int parameterIndex, int sqlType, java.lang.String typeName)
      Register out parameter.
      参数:
      parameterIndex - the parameter index
      sqlType - the sql type
      typeName - the type name
      另请参阅:
      PreparedStatement
    • registerOutParameter

      public void registerOutParameter​(java.lang.String parameterName, int sqlType, int scale)
      Register out parameter.
      参数:
      parameterName - the parameter name
      sqlType - the sql type
      scale - the scale
      另请参阅:
      PreparedStatement
    • registerOutParameter

      public void registerOutParameter​(java.lang.String parameterName, int sqlType, java.lang.String typeName)
      Register out parameter.
      参数:
      parameterName - the parameter name
      sqlType - the sql type
      typeName - the type name
      另请参阅:
      PreparedStatement
    • setAsciiStream

      public void setAsciiStream​(java.lang.String parameterName, java.io.InputStream x)
      Sets the ascii stream.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setAsciiStream

      public void setAsciiStream​(java.lang.String parameterName, java.io.InputStream x, int length)
      Sets the ascii stream.
      参数:
      parameterName - the parameter name
      x - the x
      length - the length
      另请参阅:
      PreparedStatement
    • setAsciiStream

      public void setAsciiStream​(java.lang.String parameterName, java.io.InputStream x, long length)
      Sets the ascii stream.
      参数:
      parameterName - the parameter name
      x - the x
      length - the length
      另请参阅:
      PreparedStatement
    • setBigDecimal

      public void setBigDecimal​(java.lang.String parameterName, java.math.BigDecimal x)
      Sets the big decimal.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setBinaryStream

      public void setBinaryStream​(java.lang.String parameterName, java.io.InputStream x)
      Sets the binary stream.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setBinaryStream

      public void setBinaryStream​(java.lang.String parameterName, java.io.InputStream x, int length)
      Sets the binary stream.
      参数:
      parameterName - the parameter name
      x - the x
      length - the length
      另请参阅:
      PreparedStatement
    • setBinaryStream

      public void setBinaryStream​(java.lang.String parameterName, java.io.InputStream x, long length)
      Sets the binary stream.
      参数:
      parameterName - the parameter name
      x - the x
      length - the length
      另请参阅:
      PreparedStatement
    • setBlob

      public void setBlob​(java.lang.String parameterName, java.sql.Blob x)
      Sets the blob.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setBlob

      public void setBlob​(java.lang.String parameterName, java.io.InputStream inputStream)
      Sets the blob.
      参数:
      parameterName - the parameter name
      inputStream - the input stream
      另请参阅:
      PreparedStatement
    • setBlob

      public void setBlob​(java.lang.String parameterName, java.io.InputStream inputStream, long length)
      Sets the blob.
      参数:
      parameterName - the parameter name
      inputStream - the input stream
      length - the length
      另请参阅:
      PreparedStatement
    • setBoolean

      public void setBoolean​(java.lang.String parameterName, boolean x)
      Sets the boolean.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setByte

      public void setByte​(java.lang.String parameterName, byte x)
      Sets the byte.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setBytes

      public void setBytes​(java.lang.String parameterName, byte[] x)
      Sets the bytes.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setCharacterStream

      public void setCharacterStream​(java.lang.String parameterName, java.io.Reader reader)
      Sets the character stream.
      参数:
      parameterName - the parameter name
      reader - the reader
      另请参阅:
      PreparedStatement
    • setCharacterStream

      public void setCharacterStream​(java.lang.String parameterName, java.io.Reader reader, int length)
      Sets the character stream.
      参数:
      parameterName - the parameter name
      reader - the reader
      length - the length
      另请参阅:
      PreparedStatement
    • setCharacterStream

      public void setCharacterStream​(java.lang.String parameterName, java.io.Reader reader, long length)
      Sets the character stream.
      参数:
      parameterName - the parameter name
      reader - the reader
      length - the length
      另请参阅:
      PreparedStatement
    • setClob

      public void setClob​(java.lang.String parameterName, java.sql.Clob x)
      Sets the clob.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setClob

      public void setClob​(java.lang.String parameterName, java.io.Reader reader)
      Sets the clob.
      参数:
      parameterName - the parameter name
      reader - the reader
      另请参阅:
      PreparedStatement
    • setClob

      public void setClob​(java.lang.String parameterName, java.io.Reader reader, long length)
      Sets the clob.
      参数:
      parameterName - the parameter name
      reader - the reader
      length - the length
      另请参阅:
      PreparedStatement
    • setDate

      public void setDate​(java.lang.String parameterName, java.sql.Date x)
      Sets the date.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setDate

      public void setDate​(java.lang.String parameterName, java.sql.Date x, java.util.Calendar cal)
      Sets the date.
      参数:
      parameterName - the parameter name
      x - the x
      cal - the cal
      另请参阅:
      PreparedStatement
    • setDouble

      public void setDouble​(java.lang.String parameterName, double x)
      Sets the double.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setFloat

      public void setFloat​(java.lang.String parameterName, float x)
      Sets the float.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setInt

      public void setInt​(java.lang.String parameterName, int x)
      Sets the int.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setLong

      public void setLong​(java.lang.String parameterName, long x)
      Sets the long.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setNCharacterStream

      public void setNCharacterStream​(java.lang.String parameterName, java.io.Reader value)
      Sets the N character stream.
      参数:
      parameterName - the parameter name
      value - the value
      另请参阅:
      PreparedStatement
    • setNCharacterStream

      public void setNCharacterStream​(java.lang.String parameterName, java.io.Reader value, long length)
      Sets the N character stream.
      参数:
      parameterName - the parameter name
      value - the value
      length - the length
      另请参阅:
      PreparedStatement
    • setNClob

      public void setNClob​(java.lang.String parameterName, java.sql.NClob value)
      Sets the N clob.
      参数:
      parameterName - the parameter name
      value - the value
      另请参阅:
      PreparedStatement
    • setNClob

      public void setNClob​(java.lang.String parameterName, java.io.Reader reader)
      Sets the N clob.
      参数:
      parameterName - the parameter name
      reader - the reader
      另请参阅:
      PreparedStatement
    • setNClob

      public void setNClob​(java.lang.String parameterName, java.io.Reader reader, long length)
      Sets the N clob.
      参数:
      parameterName - the parameter name
      reader - the reader
      length - the length
      另请参阅:
      PreparedStatement
    • setNString

      public void setNString​(java.lang.String parameterName, java.lang.String value)
      Sets the N string.
      参数:
      parameterName - the parameter name
      value - the value
      另请参阅:
      PreparedStatement
    • setNull

      public void setNull​(java.lang.String parameterName, int sqlType)
      Sets the null.
      参数:
      parameterName - the parameter name
      sqlType - the sql type
      另请参阅:
      PreparedStatement
    • setNull

      public void setNull​(java.lang.String parameterName, int sqlType, java.lang.String typeName)
      Sets the null.
      参数:
      parameterName - the parameter name
      sqlType - the sql type
      typeName - the type name
      另请参阅:
      PreparedStatement
    • setObject

      public void setObject​(java.lang.String parameterName, java.lang.Object x)
      Sets the object.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setObject

      public void setObject​(java.lang.String parameterName, java.lang.Object x, int targetSqlType)
      Sets the object.
      参数:
      parameterName - the parameter name
      x - the x
      targetSqlType - the target sql type
      另请参阅:
      PreparedStatement
    • setObject

      public void setObject​(java.lang.String parameterName, java.lang.Object x, int targetSqlType, int scale)
      Sets the object.
      参数:
      parameterName - the parameter name
      x - the x
      targetSqlType - the target sql type
      scale - the scale
      另请参阅:
      PreparedStatement
    • setRowId

      public void setRowId​(java.lang.String parameterName, java.sql.RowId x)
      Sets the row id.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setSQLXML

      public void setSQLXML​(java.lang.String parameterName, java.sql.SQLXML xmlObject)
      Sets the SQLXML.
      参数:
      parameterName - the parameter name
      xmlObject - the xml object
      另请参阅:
      PreparedStatement
    • setShort

      public void setShort​(java.lang.String parameterName, short x)
      Sets the short.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setString

      public void setString​(java.lang.String parameterName, java.lang.String x)
      Sets the string.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setTime

      public void setTime​(java.lang.String parameterName, java.sql.Time x)
      Sets the time.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setTime

      public void setTime​(java.lang.String parameterName, java.sql.Time x, java.util.Calendar cal)
      Sets the time.
      参数:
      parameterName - the parameter name
      x - the x
      cal - the cal
      另请参阅:
      PreparedStatement
    • setTimestamp

      public void setTimestamp​(java.lang.String parameterName, java.sql.Timestamp x)
      Sets the timestamp.
      参数:
      parameterName - the parameter name
      x - the x
      另请参阅:
      PreparedStatement
    • setTimestamp

      public void setTimestamp​(java.lang.String parameterName, java.sql.Timestamp x, java.util.Calendar cal)
      Sets the timestamp.
      参数:
      parameterName - the parameter name
      x - the x
      cal - the cal
      另请参阅:
      PreparedStatement
    • setURL

      public void setURL​(java.lang.String parameterName, java.net.URL val)
      Sets the URL.
      参数:
      parameterName - the parameter name
      val - the val
      另请参阅:
      PreparedStatement
    • wasNull

      public boolean wasNull()
      Was null.
      返回:
      true, if successful
      另请参阅:
      PreparedStatement
    • getCallableStatement

      public java.sql.CallableStatement getCallableStatement()
      Gets the callable statement.
      返回:
      返回callableStatement(java.sql.CallableStatement)