类 PreparedStatementWrapper
java.lang.Object
cn.featherfly.common.db.wrapper.PreparedStatementWrapper
- 所有已实现的接口:
java.lang.AutoCloseable
public class PreparedStatementWrapper
extends java.lang.Object
implements java.lang.AutoCloseable
java.sql.PreparedStatement的包装类,包装所有检查异常(SQLEception)为非检查异常(JdbcException)
-
构造器概要
构造器 构造器 说明 PreparedStatementWrapper(java.sql.PreparedStatement preparedStatement, ConnectionWrapper connectionWrapper)Instantiates a new prepared statement wrapper. -
方法概要
修饰符和类型 方法 说明 voidaddBatch()Adds the batch.voidaddBatch(java.lang.String sql)Adds the batch.voidcancel()Cancel.voidclearBatch()Clear batch.voidclearParameters()Clear parameters.voidclearWarnings()Clear warnings.voidclose()Close.booleanexecute()Execute.booleanexecute(java.lang.String sql)Execute.booleanexecute(java.lang.String sql, int autoGeneratedKeys)Execute.booleanexecute(java.lang.String sql, int[] columnIndexes)Execute.booleanexecute(java.lang.String sql, java.lang.String[] columnNames)Execute.int[]executeBatch()Execute batch.ResultSetWrapperexecuteQuery()Execute query.ResultSetWrapperexecuteQuery(java.lang.String sql)Execute query.intexecuteUpdate()Execute update.intexecuteUpdate(java.lang.String sql)Execute update.intexecuteUpdate(java.lang.String sql, int autoGeneratedKeys)Execute update.intexecuteUpdate(java.lang.String sql, int[] columnIndexes)Execute update.intexecuteUpdate(java.lang.String sql, java.lang.String[] columnNames)Execute update.ConnectionWrappergetConnection()Gets the connection.intgetFetchDirection()Gets the fetch direction.intgetFetchSize()Gets the fetch size.ResultSetWrappergetGeneratedKeys()Gets the generated keys.intgetMaxFieldSize()Gets the max field size.intgetMaxRows()Gets the max rows.java.sql.ResultSetMetaDatagetMetaData()Gets the meta data.booleangetMoreResults()Gets the more results.booleangetMoreResults(int current)Gets the more results.java.sql.ParameterMetaDatagetParameterMetaData()Gets the parameter meta data.java.sql.PreparedStatementgetPreparedStatement()Gets the prepared statement.intgetQueryTimeout()Gets the query timeout.ResultSetWrappergetResultSet()Gets the result set.intgetResultSetConcurrency()Gets the result set concurrency.intgetResultSetHoldability()Gets the result set holdability.intgetResultSetType()Gets the result set type.intgetUpdateCount()Gets the update count.java.sql.SQLWarninggetWarnings()Gets the warnings.booleanisClosed()Checks if is closed.booleanisPoolable()Checks if is poolable.booleanisWrapperFor(java.lang.Class<?> iface)Checks if is wrapper for.voidsetArray(int parameterIndex, java.sql.Array x)Sets the array.voidsetAsciiStream(int parameterIndex, java.io.InputStream x)Sets the ascii stream.voidsetAsciiStream(int parameterIndex, java.io.InputStream x, int length)Sets the ascii stream.voidsetAsciiStream(int parameterIndex, java.io.InputStream x, long length)Sets the ascii stream.voidsetBigDecimal(int parameterIndex, java.math.BigDecimal x)Sets the big decimal.voidsetBinaryStream(int parameterIndex, java.io.InputStream x)Sets the binary stream.voidsetBinaryStream(int parameterIndex, java.io.InputStream x, int length)Sets the binary stream.voidsetBinaryStream(int parameterIndex, java.io.InputStream x, long length)Sets the binary stream.voidsetBlob(int parameterIndex, java.io.InputStream inputStream)Sets the blob.voidsetBlob(int parameterIndex, java.io.InputStream inputStream, long length)Sets the blob.voidsetBlob(int parameterIndex, java.sql.Blob x)Sets the blob.voidsetBoolean(int parameterIndex, boolean x)Sets the boolean.voidsetByte(int parameterIndex, byte x)Sets the byte.voidsetBytes(int parameterIndex, byte[] x)Sets the bytes.voidsetCharacterStream(int parameterIndex, java.io.Reader reader)Sets the character stream.voidsetCharacterStream(int parameterIndex, java.io.Reader reader, int length)Sets the character stream.voidsetCharacterStream(int parameterIndex, java.io.Reader reader, long length)Sets the character stream.voidsetClob(int parameterIndex, java.io.Reader reader)Sets the clob.voidsetClob(int parameterIndex, java.io.Reader reader, long length)Sets the clob.voidsetClob(int parameterIndex, java.sql.Clob x)Sets the clob.voidsetCursorName(java.lang.String name)Sets the cursor name.voidsetDate(int parameterIndex, java.sql.Date x)Sets the date.voidsetDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal)Sets the date.voidsetDouble(int parameterIndex, double x)Sets the double.voidsetEscapeProcessing(boolean enable)Sets the escape processing.voidsetFetchDirection(int direction)Sets the fetch direction.voidsetFetchSize(int rows)Sets the fetch size.voidsetFloat(int parameterIndex, float x)Sets the float.voidsetInt(int parameterIndex, int x)Sets the int.voidsetLong(int parameterIndex, long x)Sets the long.voidsetMaxFieldSize(int max)Sets the max field size.voidsetMaxRows(int max)Sets the max rows.voidsetNCharacterStream(int parameterIndex, java.io.Reader value)Sets the N character stream.voidsetNCharacterStream(int parameterIndex, java.io.Reader value, long length)Sets the N character stream.voidsetNClob(int parameterIndex, java.io.Reader reader)Sets the N clob.voidsetNClob(int parameterIndex, java.io.Reader reader, long length)Sets the N clob.voidsetNClob(int parameterIndex, java.sql.NClob value)Sets the N clob.voidsetNString(int parameterIndex, java.lang.String value)Sets the N string.voidsetNull(int parameterIndex, int sqlType)Sets the null.voidsetNull(int parameterIndex, int sqlType, java.lang.String typeName)Sets the null.voidsetObject(int parameterIndex, java.lang.Object x)Sets the object.voidsetObject(int parameterIndex, java.lang.Object x, int targetSqlType)Sets the object.voidsetObject(int parameterIndex, java.lang.Object x, int targetSqlType, int scaleOrLength)Sets the object.voidsetPoolable(boolean poolable)Sets the poolable.voidsetQueryTimeout(int seconds)Sets the query timeout.voidsetRef(int parameterIndex, java.sql.Ref x)Sets the ref.voidsetRowId(int parameterIndex, java.sql.RowId x)Sets the row id.voidsetShort(int parameterIndex, short x)Sets the short.voidsetSQLXML(int parameterIndex, java.sql.SQLXML xmlObject)Sets the SQLXML.voidsetString(int parameterIndex, java.lang.String x)Sets the string.voidsetTime(int parameterIndex, java.sql.Time x)Sets the time.voidsetTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal)Sets the time.voidsetTimestamp(int parameterIndex, java.sql.Timestamp x)Sets the timestamp.voidsetTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal)Sets the timestamp.voidsetUnicodeStream(int parameterIndex, java.io.InputStream x, int length)已过时。voidsetURL(int parameterIndex, java.net.URL x)Sets the URL.<T> Tunwrap(java.lang.Class<T> iface)Unwrap.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
PreparedStatementWrapper
public PreparedStatementWrapper(java.sql.PreparedStatement preparedStatement, ConnectionWrapper connectionWrapper)Instantiates a new prepared statement wrapper.- 参数:
preparedStatement- the prepared statementconnectionWrapper- the connection wrapper
-
-
方法详细资料
-
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
Execute query.- 返回:
- the result set wrapper
- 另请参阅:
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 indexx- the x- 另请参阅:
PreparedStatement
-
setAsciiStream
public void setAsciiStream(int parameterIndex, java.io.InputStream x)Sets the ascii stream.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setAsciiStream
public void setAsciiStream(int parameterIndex, java.io.InputStream x, int length)Sets the ascii stream.- 参数:
parameterIndex- the parameter indexx- the xlength- the length- 另请参阅:
PreparedStatement
-
setAsciiStream
public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length)Sets the ascii stream.- 参数:
parameterIndex- the parameter indexx- the xlength- the length- 另请参阅:
PreparedStatement
-
setBigDecimal
public void setBigDecimal(int parameterIndex, java.math.BigDecimal x)Sets the big decimal.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setBinaryStream
public void setBinaryStream(int parameterIndex, java.io.InputStream x)Sets the binary stream.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setBinaryStream
public void setBinaryStream(int parameterIndex, java.io.InputStream x, int length)Sets the binary stream.- 参数:
parameterIndex- the parameter indexx- the xlength- the length- 另请参阅:
PreparedStatement
-
setBinaryStream
public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length)Sets the binary stream.- 参数:
parameterIndex- the parameter indexx- the xlength- the length- 另请参阅:
PreparedStatement
-
setBlob
public void setBlob(int parameterIndex, java.sql.Blob x)Sets the blob.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setBlob
public void setBlob(int parameterIndex, java.io.InputStream inputStream)Sets the blob.- 参数:
parameterIndex- the parameter indexinputStream- the input stream- 另请参阅:
PreparedStatement
-
setBlob
public void setBlob(int parameterIndex, java.io.InputStream inputStream, long length)Sets the blob.- 参数:
parameterIndex- the parameter indexinputStream- the input streamlength- the length- 另请参阅:
PreparedStatement
-
setBoolean
public void setBoolean(int parameterIndex, boolean x)Sets the boolean.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setByte
public void setByte(int parameterIndex, byte x)Sets the byte.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setBytes
public void setBytes(int parameterIndex, byte[] x)Sets the bytes.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setCharacterStream
public void setCharacterStream(int parameterIndex, java.io.Reader reader)Sets the character stream.- 参数:
parameterIndex- the parameter indexreader- the reader- 另请参阅:
PreparedStatement
-
setCharacterStream
public void setCharacterStream(int parameterIndex, java.io.Reader reader, int length)Sets the character stream.- 参数:
parameterIndex- the parameter indexreader- the readerlength- the length- 另请参阅:
PreparedStatement
-
setCharacterStream
public void setCharacterStream(int parameterIndex, java.io.Reader reader, long length)Sets the character stream.- 参数:
parameterIndex- the parameter indexreader- the readerlength- the length- 另请参阅:
PreparedStatement
-
setClob
public void setClob(int parameterIndex, java.sql.Clob x)Sets the clob.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setClob
public void setClob(int parameterIndex, java.io.Reader reader)Sets the clob.- 参数:
parameterIndex- the parameter indexreader- the reader- 另请参阅:
PreparedStatement
-
setClob
public void setClob(int parameterIndex, java.io.Reader reader, long length)Sets the clob.- 参数:
parameterIndex- the parameter indexreader- the readerlength- the length- 另请参阅:
PreparedStatement
-
setDate
public void setDate(int parameterIndex, java.sql.Date x)Sets the date.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setDate
public void setDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal)Sets the date.- 参数:
parameterIndex- the parameter indexx- the xcal- the cal- 另请参阅:
PreparedStatement
-
setDouble
public void setDouble(int parameterIndex, double x)Sets the double.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setFloat
public void setFloat(int parameterIndex, float x)Sets the float.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setInt
public void setInt(int parameterIndex, int x)Sets the int.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setLong
public void setLong(int parameterIndex, long x)Sets the long.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setNCharacterStream
public void setNCharacterStream(int parameterIndex, java.io.Reader value)Sets the N character stream.- 参数:
parameterIndex- the parameter indexvalue- the value- 另请参阅:
PreparedStatement
-
setNCharacterStream
public void setNCharacterStream(int parameterIndex, java.io.Reader value, long length)Sets the N character stream.- 参数:
parameterIndex- the parameter indexvalue- the valuelength- the length- 另请参阅:
PreparedStatement
-
setNClob
public void setNClob(int parameterIndex, java.sql.NClob value)Sets the N clob.- 参数:
parameterIndex- the parameter indexvalue- the value- 另请参阅:
PreparedStatement
-
setNClob
public void setNClob(int parameterIndex, java.io.Reader reader)Sets the N clob.- 参数:
parameterIndex- the parameter indexreader- the reader- 另请参阅:
PreparedStatement
-
setNClob
public void setNClob(int parameterIndex, java.io.Reader reader, long length)Sets the N clob.- 参数:
parameterIndex- the parameter indexreader- the readerlength- the length- 另请参阅:
PreparedStatement
-
setNString
public void setNString(int parameterIndex, java.lang.String value)Sets the N string.- 参数:
parameterIndex- the parameter indexvalue- the value- 另请参阅:
PreparedStatement
-
setNull
public void setNull(int parameterIndex, int sqlType)Sets the null.- 参数:
parameterIndex- the parameter indexsqlType- the sql type- 另请参阅:
PreparedStatement
-
setNull
public void setNull(int parameterIndex, int sqlType, java.lang.String typeName)Sets the null.- 参数:
parameterIndex- the parameter indexsqlType- the sql typetypeName- the type name- 另请参阅:
PreparedStatement
-
setObject
public void setObject(int parameterIndex, java.lang.Object x)Sets the object.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setObject
public void setObject(int parameterIndex, java.lang.Object x, int targetSqlType)Sets the object.- 参数:
parameterIndex- the parameter indexx- the xtargetSqlType- 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 indexx- the xtargetSqlType- the target sql typescaleOrLength- the scale or length- 另请参阅:
PreparedStatement
-
setRef
public void setRef(int parameterIndex, java.sql.Ref x)Sets the ref.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setRowId
public void setRowId(int parameterIndex, java.sql.RowId x)Sets the row id.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setSQLXML
public void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject)Sets the SQLXML.- 参数:
parameterIndex- the parameter indexxmlObject- the xml object- 另请参阅:
PreparedStatement
-
setShort
public void setShort(int parameterIndex, short x)Sets the short.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setString
public void setString(int parameterIndex, java.lang.String x)Sets the string.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setTime
public void setTime(int parameterIndex, java.sql.Time x)Sets the time.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setTime
public void setTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal)Sets the time.- 参数:
parameterIndex- the parameter indexx- the xcal- the cal- 另请参阅:
PreparedStatement
-
setTimestamp
public void setTimestamp(int parameterIndex, java.sql.Timestamp x)Sets the timestamp.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setTimestamp
public void setTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal)Sets the timestamp.- 参数:
parameterIndex- the parameter indexx- the xcal- the cal- 另请参阅:
PreparedStatement
-
setURL
public void setURL(int parameterIndex, java.net.URL x)Sets the URL.- 参数:
parameterIndex- the parameter indexx- the x- 另请参阅:
PreparedStatement
-
setUnicodeStream
@Deprecated public void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length)已过时。Sets the unicode stream.- 参数:
parameterIndex- the parameter indexx- the xlength- 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 sqlautoGeneratedKeys- the auto generated keys- 返回:
- true, if successful
- 另请参阅:
PreparedStatement
-
execute
public boolean execute(java.lang.String sql, int[] columnIndexes)Execute.- 参数:
sql- the sqlcolumnIndexes- the column indexes- 返回:
- true, if successful
- 另请参阅:
PreparedStatement
-
execute
public boolean execute(java.lang.String sql, java.lang.String[] columnNames)Execute.- 参数:
sql- the sqlcolumnNames- the column names- 返回:
- true, if successful
- 另请参阅:
PreparedStatement
-
executeBatch
public int[] executeBatch()Execute batch.- 返回:
- the int[]
- 另请参阅:
PreparedStatement
-
executeQuery
Execute query.- 参数:
sql- the sql- 返回:
- the result set wrapper
- 另请参阅:
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 sqlautoGeneratedKeys- the auto generated keys- 返回:
- the int
- 另请参阅:
PreparedStatement
-
executeUpdate
public int executeUpdate(java.lang.String sql, int[] columnIndexes)Execute update.- 参数:
sql- the sqlcolumnIndexes- the column indexes- 返回:
- the int
- 另请参阅:
PreparedStatement
-
executeUpdate
public int executeUpdate(java.lang.String sql, java.lang.String[] columnNames)Execute update.- 参数:
sql- the sqlcolumnNames- the column names- 返回:
- the int
- 另请参阅:
PreparedStatement
-
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
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
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
-
getPreparedStatement
public java.sql.PreparedStatement getPreparedStatement()Gets the prepared statement.- 返回:
- 返回preparedStatement(java.sql.PreparedStatement)
-