- java.lang.Object
- 
- org.jooq.tools.jdbc.JDBC41Statement
- 
- org.jooq.tools.jdbc.MockStatement
 
 
- 
- All Implemented Interfaces:
- AutoCloseable,- CallableStatement,- PreparedStatement,- Statement,- Wrapper
 
 public class MockStatement extends JDBC41Statement implements CallableStatement A mock statement.This statement can be used to mock any of these: - Author:
- Lukas Eder
- See Also:
- MockConnection
 
- 
- 
Field Summary- 
Fields inherited from interface java.sql.StatementCLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
- 
 - 
Constructor SummaryConstructors Constructor Description MockStatement(MockConnection connection, MockDataProvider data)MockStatement(MockConnection connection, MockDataProvider data, String sql)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBatch()voidaddBatch(String localSql)voidcancel()voidclearBatch()voidclearParameters()voidclearWarnings()voidclose()booleanexecute()booleanexecute(String localSql)booleanexecute(String localSql, int localAutoGeneratedKeys)booleanexecute(String localSql, int[] localColumnIndexes)booleanexecute(String localSql, String[] localColumnNames)int[]executeBatch()ResultSetexecuteQuery()ResultSetexecuteQuery(String localSql)intexecuteUpdate()intexecuteUpdate(String localSql)intexecuteUpdate(String localSql, int localAutoGeneratedKeys)intexecuteUpdate(String localSql, int[] localColumnIndexes)intexecuteUpdate(String localSql, String[] localColumnNames)ArraygetArray(int parameterIndex)ArraygetArray(String parameterName)BigDecimalgetBigDecimal(int parameterIndex)BigDecimalgetBigDecimal(int parameterIndex, int scale)BigDecimalgetBigDecimal(String parameterName)BlobgetBlob(int parameterIndex)BlobgetBlob(String parameterName)booleangetBoolean(int parameterIndex)booleangetBoolean(String parameterName)bytegetByte(int parameterIndex)bytegetByte(String parameterName)byte[]getBytes(int parameterIndex)byte[]getBytes(String parameterName)ReadergetCharacterStream(int parameterIndex)ReadergetCharacterStream(String parameterName)ClobgetClob(int parameterIndex)ClobgetClob(String parameterName)ConnectiongetConnection()DategetDate(int parameterIndex)DategetDate(int parameterIndex, Calendar cal)DategetDate(String parameterName)DategetDate(String parameterName, Calendar cal)doublegetDouble(int parameterIndex)doublegetDouble(String parameterName)intgetFetchDirection()intgetFetchSize()floatgetFloat(int parameterIndex)floatgetFloat(String parameterName)ResultSetgetGeneratedKeys()intgetInt(int parameterIndex)intgetInt(String parameterName)longgetLong(int parameterIndex)longgetLong(String parameterName)intgetMaxFieldSize()intgetMaxRows()ResultSetMetaDatagetMetaData()booleangetMoreResults()booleangetMoreResults(int current)ReadergetNCharacterStream(int parameterIndex)ReadergetNCharacterStream(String parameterName)NClobgetNClob(int parameterIndex)NClobgetNClob(String parameterName)StringgetNString(int parameterIndex)StringgetNString(String parameterName)ObjectgetObject(int parameterIndex)ObjectgetObject(int parameterIndex, Map<String,Class<?>> map)ObjectgetObject(String parameterName)ObjectgetObject(String parameterName, Map<String,Class<?>> map)ParameterMetaDatagetParameterMetaData()intgetQueryTimeout()RefgetRef(int parameterIndex)RefgetRef(String parameterName)ResultSetgetResultSet()intgetResultSetConcurrency()intgetResultSetHoldability()intgetResultSetType()RowIdgetRowId(int parameterIndex)RowIdgetRowId(String parameterName)shortgetShort(int parameterIndex)shortgetShort(String parameterName)SQLXMLgetSQLXML(int parameterIndex)SQLXMLgetSQLXML(String parameterName)StringgetString(int parameterIndex)StringgetString(String parameterName)TimegetTime(int parameterIndex)TimegetTime(int parameterIndex, Calendar cal)TimegetTime(String parameterName)TimegetTime(String parameterName, Calendar cal)TimestampgetTimestamp(int parameterIndex)TimestampgetTimestamp(int parameterIndex, Calendar cal)TimestampgetTimestamp(String parameterName)TimestampgetTimestamp(String parameterName, Calendar cal)intgetUpdateCount()URLgetURL(int parameterIndex)URLgetURL(String parameterName)SQLWarninggetWarnings()booleanisClosed()booleanisPoolable()booleanisWrapperFor(Class<?> iface)voidregisterOutParameter(int parameterIndex, int sqlType)voidregisterOutParameter(int parameterIndex, int sqlType, int scale)voidregisterOutParameter(int parameterIndex, int sqlType, String typeName)voidregisterOutParameter(String parameterName, int sqlType)voidregisterOutParameter(String parameterName, int sqlType, int scale)voidregisterOutParameter(String parameterName, int sqlType, String typeName)voidsetArray(int parameterIndex, Array x)voidsetAsciiStream(int parameterIndex, InputStream x)voidsetAsciiStream(int parameterIndex, InputStream x, int length)voidsetAsciiStream(int parameterIndex, InputStream x, long length)voidsetAsciiStream(String parameterName, InputStream x)voidsetAsciiStream(String parameterName, InputStream x, int length)voidsetAsciiStream(String parameterName, InputStream x, long length)voidsetBigDecimal(int parameterIndex, BigDecimal x)voidsetBigDecimal(String parameterName, BigDecimal x)voidsetBinaryStream(int parameterIndex, InputStream x)voidsetBinaryStream(int parameterIndex, InputStream x, int length)voidsetBinaryStream(int parameterIndex, InputStream x, long length)voidsetBinaryStream(String parameterName, InputStream x)voidsetBinaryStream(String parameterName, InputStream x, int length)voidsetBinaryStream(String parameterName, InputStream x, long length)voidsetBlob(int parameterIndex, InputStream inputStream)voidsetBlob(int parameterIndex, InputStream inputStream, long length)voidsetBlob(int parameterIndex, Blob x)voidsetBlob(String parameterName, InputStream inputStream)voidsetBlob(String parameterName, InputStream inputStream, long length)voidsetBlob(String parameterName, Blob x)voidsetBoolean(int parameterIndex, boolean x)voidsetBoolean(String parameterName, boolean x)voidsetByte(int parameterIndex, byte x)voidsetByte(String parameterName, byte x)voidsetBytes(int parameterIndex, byte[] x)voidsetBytes(String parameterName, byte[] x)voidsetCharacterStream(int parameterIndex, Reader reader)voidsetCharacterStream(int parameterIndex, Reader reader, int length)voidsetCharacterStream(int parameterIndex, Reader reader, long length)voidsetCharacterStream(String parameterName, Reader reader)voidsetCharacterStream(String parameterName, Reader reader, int length)voidsetCharacterStream(String parameterName, Reader reader, long length)voidsetClob(int parameterIndex, Reader reader)voidsetClob(int parameterIndex, Reader reader, long length)voidsetClob(int parameterIndex, Clob x)voidsetClob(String parameterName, Reader reader)voidsetClob(String parameterName, Reader reader, long length)voidsetClob(String parameterName, Clob x)voidsetCursorName(String name)voidsetDate(int parameterIndex, Date x)voidsetDate(int parameterIndex, Date x, Calendar cal)voidsetDate(String parameterName, Date x)voidsetDate(String parameterName, Date x, Calendar cal)voidsetDouble(int parameterIndex, double x)voidsetDouble(String parameterName, double x)voidsetEscapeProcessing(boolean enable)voidsetFetchDirection(int direction)voidsetFetchSize(int rows)voidsetFloat(int parameterIndex, float x)voidsetFloat(String parameterName, float x)voidsetInt(int parameterIndex, int x)voidsetInt(String parameterName, int x)voidsetLong(int parameterIndex, long x)voidsetLong(String parameterName, long x)voidsetMaxFieldSize(int max)voidsetMaxRows(int max)voidsetNCharacterStream(int parameterIndex, Reader value)voidsetNCharacterStream(int parameterIndex, Reader value, long length)voidsetNCharacterStream(String parameterName, Reader value)voidsetNCharacterStream(String parameterName, Reader value, long length)voidsetNClob(int parameterIndex, Reader reader)voidsetNClob(int parameterIndex, Reader reader, long length)voidsetNClob(int parameterIndex, NClob value)voidsetNClob(String parameterName, Reader reader)voidsetNClob(String parameterName, Reader reader, long length)voidsetNClob(String parameterName, NClob value)voidsetNString(int parameterIndex, String value)voidsetNString(String parameterName, String value)voidsetNull(int parameterIndex, int sqlType)voidsetNull(int parameterIndex, int sqlType, String typeName)voidsetNull(String parameterName, int sqlType)voidsetNull(String parameterName, int sqlType, String typeName)voidsetObject(int parameterIndex, Object x)voidsetObject(int parameterIndex, Object x, int targetSqlType)voidsetObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength)voidsetObject(String parameterName, Object x)voidsetObject(String parameterName, Object x, int targetSqlType)voidsetObject(String parameterName, Object x, int targetSqlType, int scale)voidsetPoolable(boolean poolable)voidsetQueryTimeout(int seconds)voidsetRef(int parameterIndex, Ref x)voidsetRowId(int parameterIndex, RowId x)voidsetRowId(String parameterName, RowId x)voidsetShort(int parameterIndex, short x)voidsetShort(String parameterName, short x)voidsetSQLXML(int parameterIndex, SQLXML xmlObject)voidsetSQLXML(String parameterName, SQLXML xmlObject)voidsetString(int parameterIndex, String x)voidsetString(String parameterName, String x)voidsetTime(int parameterIndex, Time x)voidsetTime(int parameterIndex, Time x, Calendar cal)voidsetTime(String parameterName, Time x)voidsetTime(String parameterName, Time x, Calendar cal)voidsetTimestamp(int parameterIndex, Timestamp x)voidsetTimestamp(int parameterIndex, Timestamp x, Calendar cal)voidsetTimestamp(String parameterName, Timestamp x)voidsetTimestamp(String parameterName, Timestamp x, Calendar cal)voidsetUnicodeStream(int parameterIndex, InputStream x, int length)voidsetURL(int parameterIndex, URL x)voidsetURL(String parameterName, URL val)<T> Tunwrap(Class<T> iface)booleanwasNull()- 
Methods inherited from class org.jooq.tools.jdbc.JDBC41StatementcloseOnCompletion, getObject, getObject, isCloseOnCompletion
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.sql.CallableStatementgetObject, getObject, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setObject, setObject
 - 
Methods inherited from interface java.sql.PreparedStatementexecuteLargeUpdate, setObject, setObject
 - 
Methods inherited from interface java.sql.StatementcloseOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isCloseOnCompletion, isSimpleIdentifier, setLargeMaxRows
 
- 
 
- 
- 
- 
Constructor Detail- 
MockStatementpublic MockStatement(MockConnection connection, MockDataProvider data) 
 - 
MockStatementpublic MockStatement(MockConnection connection, MockDataProvider data, String sql) 
 
- 
 - 
Method Detail- 
getConnectionpublic Connection getConnection() throws SQLException - Specified by:
- getConnectionin interface- Statement
- Throws:
- SQLException
 
 - 
getGeneratedKeyspublic ResultSet getGeneratedKeys() throws SQLException - Specified by:
- getGeneratedKeysin interface- Statement
- Throws:
- SQLException
 
 - 
getMoreResultspublic boolean getMoreResults() throws SQLException- Specified by:
- getMoreResultsin interface- Statement
- Throws:
- SQLException
 
 - 
getMoreResultspublic boolean getMoreResults(int current) throws SQLException- Specified by:
- getMoreResultsin interface- Statement
- Throws:
- SQLException
 
 - 
getResultSetpublic ResultSet getResultSet() throws SQLException - Specified by:
- getResultSetin interface- Statement
- Throws:
- SQLException
 
 - 
getUpdateCountpublic int getUpdateCount() throws SQLException- Specified by:
- getUpdateCountin interface- Statement
- Throws:
- SQLException
 
 - 
executeQuerypublic ResultSet executeQuery() throws SQLException - Specified by:
- executeQueryin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
executeQuerypublic ResultSet executeQuery(String localSql) throws SQLException - Specified by:
- executeQueryin interface- Statement
- Throws:
- SQLException
 
 - 
executepublic boolean execute() throws SQLException- Specified by:
- executein interface- PreparedStatement
- Throws:
- SQLException
 
 - 
executepublic boolean execute(String localSql) throws SQLException - Specified by:
- executein interface- Statement
- Throws:
- SQLException
 
 - 
executepublic boolean execute(String localSql, int localAutoGeneratedKeys) throws SQLException - Specified by:
- executein interface- Statement
- Throws:
- SQLException
 
 - 
executepublic boolean execute(String localSql, int[] localColumnIndexes) throws SQLException - Specified by:
- executein interface- Statement
- Throws:
- SQLException
 
 - 
executepublic boolean execute(String localSql, String[] localColumnNames) throws SQLException - Specified by:
- executein interface- Statement
- Throws:
- SQLException
 
 - 
executeUpdatepublic int executeUpdate() throws SQLException- Specified by:
- executeUpdatein interface- PreparedStatement
- Throws:
- SQLException
 
 - 
executeUpdatepublic int executeUpdate(String localSql) throws SQLException - Specified by:
- executeUpdatein interface- Statement
- Throws:
- SQLException
 
 - 
executeUpdatepublic int executeUpdate(String localSql, int localAutoGeneratedKeys) throws SQLException - Specified by:
- executeUpdatein interface- Statement
- Throws:
- SQLException
 
 - 
executeUpdatepublic int executeUpdate(String localSql, int[] localColumnIndexes) throws SQLException - Specified by:
- executeUpdatein interface- Statement
- Throws:
- SQLException
 
 - 
executeUpdatepublic int executeUpdate(String localSql, String[] localColumnNames) throws SQLException - Specified by:
- executeUpdatein interface- Statement
- Throws:
- SQLException
 
 - 
addBatchpublic void addBatch() throws SQLException- Specified by:
- addBatchin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
addBatchpublic void addBatch(String localSql) throws SQLException - Specified by:
- addBatchin interface- Statement
- Throws:
- SQLException
 
 - 
clearBatchpublic void clearBatch() throws SQLException- Specified by:
- clearBatchin interface- Statement
- Throws:
- SQLException
 
 - 
executeBatchpublic int[] executeBatch() throws SQLException- Specified by:
- executeBatchin interface- Statement
- Throws:
- SQLException
 
 - 
clearParameterspublic void clearParameters() throws SQLException- Specified by:
- clearParametersin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setNullpublic void setNull(int parameterIndex, int sqlType) throws SQLException- Specified by:
- setNullin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setNullpublic void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException- Specified by:
- setNullin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setBooleanpublic void setBoolean(int parameterIndex, boolean x) throws SQLException- Specified by:
- setBooleanin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setBytepublic void setByte(int parameterIndex, byte x) throws SQLException- Specified by:
- setBytein interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setShortpublic void setShort(int parameterIndex, short x) throws SQLException- Specified by:
- setShortin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setIntpublic void setInt(int parameterIndex, int x) throws SQLException- Specified by:
- setIntin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setLongpublic void setLong(int parameterIndex, long x) throws SQLException- Specified by:
- setLongin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setFloatpublic void setFloat(int parameterIndex, float x) throws SQLException- Specified by:
- setFloatin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setDoublepublic void setDouble(int parameterIndex, double x) throws SQLException- Specified by:
- setDoublein interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setBigDecimalpublic void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException- Specified by:
- setBigDecimalin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setStringpublic void setString(int parameterIndex, String x) throws SQLException- Specified by:
- setStringin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setNStringpublic void setNString(int parameterIndex, String value) throws SQLException- Specified by:
- setNStringin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setBytespublic void setBytes(int parameterIndex, byte[] x) throws SQLException- Specified by:
- setBytesin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setDatepublic void setDate(int parameterIndex, Date x) throws SQLException- Specified by:
- setDatein interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setTimepublic void setTime(int parameterIndex, Time x) throws SQLException- Specified by:
- setTimein interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setTimestamppublic void setTimestamp(int parameterIndex, Timestamp x) throws SQLException- Specified by:
- setTimestampin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setObjectpublic void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException- Specified by:
- setObjectin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setObjectpublic void setObject(int parameterIndex, Object x) throws SQLException- Specified by:
- setObjectin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setObjectpublic void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException- Specified by:
- setObjectin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setURLpublic void setURL(int parameterIndex, URL x) throws SQLException- Specified by:
- setURLin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setArraypublic void setArray(int parameterIndex, Array x) throws SQLException- Specified by:
- setArrayin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
registerOutParameterpublic void registerOutParameter(int parameterIndex, int sqlType) throws SQLException- Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
 - 
registerOutParameterpublic void registerOutParameter(int parameterIndex, int sqlType, int scale) throws SQLException- Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
 - 
registerOutParameterpublic void registerOutParameter(int parameterIndex, int sqlType, String typeName) throws SQLException- Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
 - 
wasNullpublic boolean wasNull() throws SQLException- Specified by:
- wasNullin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getStringpublic String getString(int parameterIndex) throws SQLException - Specified by:
- getStringin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getNStringpublic String getNString(int parameterIndex) throws SQLException - Specified by:
- getNStringin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getBooleanpublic boolean getBoolean(int parameterIndex) throws SQLException- Specified by:
- getBooleanin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getBytepublic byte getByte(int parameterIndex) throws SQLException- Specified by:
- getBytein interface- CallableStatement
- Throws:
- SQLException
 
 - 
getShortpublic short getShort(int parameterIndex) throws SQLException- Specified by:
- getShortin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getIntpublic int getInt(int parameterIndex) throws SQLException- Specified by:
- getIntin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getLongpublic long getLong(int parameterIndex) throws SQLException- Specified by:
- getLongin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getFloatpublic float getFloat(int parameterIndex) throws SQLException- Specified by:
- getFloatin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getDoublepublic double getDouble(int parameterIndex) throws SQLException- Specified by:
- getDoublein interface- CallableStatement
- Throws:
- SQLException
 
 - 
getBigDecimalpublic BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException - Specified by:
- getBigDecimalin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getBigDecimalpublic BigDecimal getBigDecimal(int parameterIndex) throws SQLException - Specified by:
- getBigDecimalin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getBytespublic byte[] getBytes(int parameterIndex) throws SQLException- Specified by:
- getBytesin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getDatepublic Date getDate(int parameterIndex) throws SQLException - Specified by:
- getDatein interface- CallableStatement
- Throws:
- SQLException
 
 - 
getDatepublic Date getDate(int parameterIndex, Calendar cal) throws SQLException - Specified by:
- getDatein interface- CallableStatement
- Throws:
- SQLException
 
 - 
getTimepublic Time getTime(int parameterIndex) throws SQLException - Specified by:
- getTimein interface- CallableStatement
- Throws:
- SQLException
 
 - 
getTimepublic Time getTime(int parameterIndex, Calendar cal) throws SQLException - Specified by:
- getTimein interface- CallableStatement
- Throws:
- SQLException
 
 - 
getTimestamppublic Timestamp getTimestamp(int parameterIndex) throws SQLException - Specified by:
- getTimestampin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getTimestamppublic Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException - Specified by:
- getTimestampin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getObjectpublic Object getObject(int parameterIndex) throws SQLException - Specified by:
- getObjectin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getObjectpublic Object getObject(int parameterIndex, Map<String,Class<?>> map) throws SQLException - Specified by:
- getObjectin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getArraypublic Array getArray(int parameterIndex) throws SQLException - Specified by:
- getArrayin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getURLpublic URL getURL(int parameterIndex) throws SQLException - Specified by:
- getURLin interface- CallableStatement
- Throws:
- SQLException
 
 - 
isClosedpublic boolean isClosed() throws SQLException- Specified by:
- isClosedin interface- Statement
- Throws:
- SQLException
 
 - 
closepublic void close() throws SQLException- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Statement
- Throws:
- SQLException
 
 - 
cancelpublic void cancel() throws SQLException- Specified by:
- cancelin interface- Statement
- Throws:
- SQLException
 
 - 
getMaxFieldSizepublic int getMaxFieldSize() throws SQLException- Specified by:
- getMaxFieldSizein interface- Statement
- Throws:
- SQLException
 
 - 
setMaxFieldSizepublic void setMaxFieldSize(int max) throws SQLException- Specified by:
- setMaxFieldSizein interface- Statement
- Throws:
- SQLException
 
 - 
getMaxRowspublic int getMaxRows() throws SQLException- Specified by:
- getMaxRowsin interface- Statement
- Throws:
- SQLException
 
 - 
setMaxRowspublic void setMaxRows(int max) throws SQLException- Specified by:
- setMaxRowsin interface- Statement
- Throws:
- SQLException
 
 - 
setEscapeProcessingpublic void setEscapeProcessing(boolean enable) throws SQLException- Specified by:
- setEscapeProcessingin interface- Statement
- Throws:
- SQLException
 
 - 
getQueryTimeoutpublic int getQueryTimeout() throws SQLException- Specified by:
- getQueryTimeoutin interface- Statement
- Throws:
- SQLException
 
 - 
setQueryTimeoutpublic void setQueryTimeout(int seconds) throws SQLException- Specified by:
- setQueryTimeoutin interface- Statement
- Throws:
- SQLException
 
 - 
setFetchDirectionpublic void setFetchDirection(int direction) throws SQLException- Specified by:
- setFetchDirectionin interface- Statement
- Throws:
- SQLException
 
 - 
getFetchDirectionpublic int getFetchDirection() throws SQLException- Specified by:
- getFetchDirectionin interface- Statement
- Throws:
- SQLException
 
 - 
setFetchSizepublic void setFetchSize(int rows) throws SQLException- Specified by:
- setFetchSizein interface- Statement
- Throws:
- SQLException
 
 - 
getFetchSizepublic int getFetchSize() throws SQLException- Specified by:
- getFetchSizein interface- Statement
- Throws:
- SQLException
 
 - 
getResultSetConcurrencypublic int getResultSetConcurrency() throws SQLException- Specified by:
- getResultSetConcurrencyin interface- Statement
- Throws:
- SQLException
 
 - 
getResultSetTypepublic int getResultSetType() throws SQLException- Specified by:
- getResultSetTypein interface- Statement
- Throws:
- SQLException
 
 - 
getResultSetHoldabilitypublic int getResultSetHoldability() throws SQLException- Specified by:
- getResultSetHoldabilityin interface- Statement
- Throws:
- SQLException
 
 - 
setPoolablepublic void setPoolable(boolean poolable) throws SQLException- Specified by:
- setPoolablein interface- Statement
- Throws:
- SQLException
 
 - 
isPoolablepublic boolean isPoolable() throws SQLException- Specified by:
- isPoolablein interface- Statement
- Throws:
- SQLException
 
 - 
getWarningspublic SQLWarning getWarnings() throws SQLException - Specified by:
- getWarningsin interface- Statement
- Throws:
- SQLException
 
 - 
clearWarningspublic void clearWarnings() throws SQLException- Specified by:
- clearWarningsin interface- Statement
- Throws:
- SQLException
 
 - 
setCursorNamepublic void setCursorName(String name) throws SQLException - Specified by:
- setCursorNamein interface- Statement
- Throws:
- SQLException
 
 - 
getMetaDatapublic ResultSetMetaData getMetaData() throws SQLException - Specified by:
- getMetaDatain interface- PreparedStatement
- Throws:
- SQLException
 
 - 
unwrappublic <T> T unwrap(Class<T> iface) throws SQLException - Specified by:
- unwrapin interface- Wrapper
- Throws:
- SQLException
 
 - 
isWrapperForpublic boolean isWrapperFor(Class<?> iface) throws SQLException - Specified by:
- isWrapperForin interface- Wrapper
- Throws:
- SQLException
 
 - 
getParameterMetaDatapublic ParameterMetaData getParameterMetaData() throws SQLException - Specified by:
- getParameterMetaDatain interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setAsciiStreampublic void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException- Specified by:
- setAsciiStreamin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setAsciiStreampublic void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException- Specified by:
- setAsciiStreamin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setAsciiStreampublic void setAsciiStream(int parameterIndex, InputStream x) throws SQLException- Specified by:
- setAsciiStreamin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setAsciiStreampublic void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException - Specified by:
- setAsciiStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setAsciiStreampublic void setAsciiStream(String parameterName, InputStream x) throws SQLException - Specified by:
- setAsciiStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setAsciiStreampublic void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException - Specified by:
- setAsciiStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setUnicodeStreampublic void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException- Specified by:
- setUnicodeStreamin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setBinaryStreampublic void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException- Specified by:
- setBinaryStreamin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setBinaryStreampublic void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException- Specified by:
- setBinaryStreamin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setBinaryStreampublic void setBinaryStream(int parameterIndex, InputStream x) throws SQLException- Specified by:
- setBinaryStreamin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setBinaryStreampublic void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException - Specified by:
- setBinaryStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setBinaryStreampublic void setBinaryStream(String parameterName, InputStream x) throws SQLException - Specified by:
- setBinaryStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setBinaryStreampublic void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException - Specified by:
- setBinaryStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setCharacterStreampublic void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException- Specified by:
- setCharacterStreamin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setCharacterStreampublic void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException- Specified by:
- setCharacterStreamin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setCharacterStreampublic void setCharacterStream(int parameterIndex, Reader reader) throws SQLException- Specified by:
- setCharacterStreamin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setCharacterStreampublic void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException - Specified by:
- setCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setCharacterStreampublic void setCharacterStream(String parameterName, Reader reader) throws SQLException - Specified by:
- setCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setCharacterStreampublic void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException - Specified by:
- setCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setNCharacterStreampublic void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException- Specified by:
- setNCharacterStreamin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setNCharacterStreampublic void setNCharacterStream(int parameterIndex, Reader value) throws SQLException- Specified by:
- setNCharacterStreamin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setNCharacterStreampublic void setNCharacterStream(String parameterName, Reader value) throws SQLException - Specified by:
- setNCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setNCharacterStreampublic void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException - Specified by:
- setNCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setRefpublic void setRef(int parameterIndex, Ref x) throws SQLException- Specified by:
- setRefin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setBlobpublic void setBlob(int parameterIndex, Blob x) throws SQLException- Specified by:
- setBlobin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setBlobpublic void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException- Specified by:
- setBlobin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setBlobpublic void setBlob(int parameterIndex, InputStream inputStream) throws SQLException- Specified by:
- setBlobin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setBlobpublic void setBlob(String parameterName, Blob x) throws SQLException - Specified by:
- setBlobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setBlobpublic void setBlob(String parameterName, InputStream inputStream) throws SQLException - Specified by:
- setBlobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setBlobpublic void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException - Specified by:
- setBlobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setClobpublic void setClob(int parameterIndex, Clob x) throws SQLException- Specified by:
- setClobin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setClobpublic void setClob(int parameterIndex, Reader reader, long length) throws SQLException- Specified by:
- setClobin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setClobpublic void setClob(int parameterIndex, Reader reader) throws SQLException- Specified by:
- setClobin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setClobpublic void setClob(String parameterName, Clob x) throws SQLException - Specified by:
- setClobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setClobpublic void setClob(String parameterName, Reader reader) throws SQLException - Specified by:
- setClobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setClobpublic void setClob(String parameterName, Reader reader, long length) throws SQLException - Specified by:
- setClobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setNClobpublic void setNClob(int parameterIndex, NClob value) throws SQLException- Specified by:
- setNClobin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setNClobpublic void setNClob(int parameterIndex, Reader reader, long length) throws SQLException- Specified by:
- setNClobin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setNClobpublic void setNClob(int parameterIndex, Reader reader) throws SQLException- Specified by:
- setNClobin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setNClobpublic void setNClob(String parameterName, NClob value) throws SQLException - Specified by:
- setNClobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setNClobpublic void setNClob(String parameterName, Reader reader, long length) throws SQLException - Specified by:
- setNClobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setNClobpublic void setNClob(String parameterName, Reader reader) throws SQLException - Specified by:
- setNClobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setNStringpublic void setNString(String parameterName, String value) throws SQLException - Specified by:
- setNStringin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setRowIdpublic void setRowId(int parameterIndex, RowId x) throws SQLException- Specified by:
- setRowIdin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setRowIdpublic void setRowId(String parameterName, RowId x) throws SQLException - Specified by:
- setRowIdin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setSQLXMLpublic void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException- Specified by:
- setSQLXMLin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setSQLXMLpublic void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException - Specified by:
- setSQLXMLin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setDatepublic void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException- Specified by:
- setDatein interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setDatepublic void setDate(String parameterName, Date x) throws SQLException - Specified by:
- setDatein interface- CallableStatement
- Throws:
- SQLException
 
 - 
setDatepublic void setDate(String parameterName, Date x, Calendar cal) throws SQLException - Specified by:
- setDatein interface- CallableStatement
- Throws:
- SQLException
 
 - 
setTimepublic void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException- Specified by:
- setTimein interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setTimepublic void setTime(String parameterName, Time x) throws SQLException - Specified by:
- setTimein interface- CallableStatement
- Throws:
- SQLException
 
 - 
setTimepublic void setTime(String parameterName, Time x, Calendar cal) throws SQLException - Specified by:
- setTimein interface- CallableStatement
- Throws:
- SQLException
 
 - 
setTimestamppublic void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException- Specified by:
- setTimestampin interface- PreparedStatement
- Throws:
- SQLException
 
 - 
setTimestamppublic void setTimestamp(String parameterName, Timestamp x) throws SQLException - Specified by:
- setTimestampin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setTimestamppublic void setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException - Specified by:
- setTimestampin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setURLpublic void setURL(String parameterName, URL val) throws SQLException - Specified by:
- setURLin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setNullpublic void setNull(String parameterName, int sqlType) throws SQLException - Specified by:
- setNullin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setNullpublic void setNull(String parameterName, int sqlType, String typeName) throws SQLException - Specified by:
- setNullin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setBooleanpublic void setBoolean(String parameterName, boolean x) throws SQLException - Specified by:
- setBooleanin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setBytepublic void setByte(String parameterName, byte x) throws SQLException - Specified by:
- setBytein interface- CallableStatement
- Throws:
- SQLException
 
 - 
setShortpublic void setShort(String parameterName, short x) throws SQLException - Specified by:
- setShortin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setIntpublic void setInt(String parameterName, int x) throws SQLException - Specified by:
- setIntin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setLongpublic void setLong(String parameterName, long x) throws SQLException - Specified by:
- setLongin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setFloatpublic void setFloat(String parameterName, float x) throws SQLException - Specified by:
- setFloatin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setDoublepublic void setDouble(String parameterName, double x) throws SQLException - Specified by:
- setDoublein interface- CallableStatement
- Throws:
- SQLException
 
 - 
setBigDecimalpublic void setBigDecimal(String parameterName, BigDecimal x) throws SQLException - Specified by:
- setBigDecimalin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setStringpublic void setString(String parameterName, String x) throws SQLException - Specified by:
- setStringin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setBytespublic void setBytes(String parameterName, byte[] x) throws SQLException - Specified by:
- setBytesin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setObjectpublic void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException - Specified by:
- setObjectin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setObjectpublic void setObject(String parameterName, Object x, int targetSqlType) throws SQLException - Specified by:
- setObjectin interface- CallableStatement
- Throws:
- SQLException
 
 - 
setObjectpublic void setObject(String parameterName, Object x) throws SQLException - Specified by:
- setObjectin interface- CallableStatement
- Throws:
- SQLException
 
 - 
registerOutParameterpublic void registerOutParameter(String parameterName, int sqlType) throws SQLException - Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
 - 
registerOutParameterpublic void registerOutParameter(String parameterName, int sqlType, int scale) throws SQLException - Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
 - 
registerOutParameterpublic void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException - Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getStringpublic String getString(String parameterName) throws SQLException - Specified by:
- getStringin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getBooleanpublic boolean getBoolean(String parameterName) throws SQLException - Specified by:
- getBooleanin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getBytepublic byte getByte(String parameterName) throws SQLException - Specified by:
- getBytein interface- CallableStatement
- Throws:
- SQLException
 
 - 
getShortpublic short getShort(String parameterName) throws SQLException - Specified by:
- getShortin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getIntpublic int getInt(String parameterName) throws SQLException - Specified by:
- getIntin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getLongpublic long getLong(String parameterName) throws SQLException - Specified by:
- getLongin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getFloatpublic float getFloat(String parameterName) throws SQLException - Specified by:
- getFloatin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getDoublepublic double getDouble(String parameterName) throws SQLException - Specified by:
- getDoublein interface- CallableStatement
- Throws:
- SQLException
 
 - 
getBytespublic byte[] getBytes(String parameterName) throws SQLException - Specified by:
- getBytesin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getDatepublic Date getDate(String parameterName) throws SQLException - Specified by:
- getDatein interface- CallableStatement
- Throws:
- SQLException
 
 - 
getTimepublic Time getTime(String parameterName) throws SQLException - Specified by:
- getTimein interface- CallableStatement
- Throws:
- SQLException
 
 - 
getTimestamppublic Timestamp getTimestamp(String parameterName) throws SQLException - Specified by:
- getTimestampin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getObjectpublic Object getObject(String parameterName) throws SQLException - Specified by:
- getObjectin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getBigDecimalpublic BigDecimal getBigDecimal(String parameterName) throws SQLException - Specified by:
- getBigDecimalin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getObjectpublic Object getObject(String parameterName, Map<String,Class<?>> map) throws SQLException - Specified by:
- getObjectin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getRefpublic Ref getRef(int parameterIndex) throws SQLException - Specified by:
- getRefin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getRefpublic Ref getRef(String parameterName) throws SQLException - Specified by:
- getRefin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getBlobpublic Blob getBlob(int parameterIndex) throws SQLException - Specified by:
- getBlobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getBlobpublic Blob getBlob(String parameterName) throws SQLException - Specified by:
- getBlobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getClobpublic Clob getClob(int parameterIndex) throws SQLException - Specified by:
- getClobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getClobpublic Clob getClob(String parameterName) throws SQLException - Specified by:
- getClobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getNClobpublic NClob getNClob(int parameterIndex) throws SQLException - Specified by:
- getNClobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getNClobpublic NClob getNClob(String parameterName) throws SQLException - Specified by:
- getNClobin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getNStringpublic String getNString(String parameterName) throws SQLException - Specified by:
- getNStringin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getNCharacterStreampublic Reader getNCharacterStream(int parameterIndex) throws SQLException - Specified by:
- getNCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getNCharacterStreampublic Reader getNCharacterStream(String parameterName) throws SQLException - Specified by:
- getNCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getCharacterStreampublic Reader getCharacterStream(int parameterIndex) throws SQLException - Specified by:
- getCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getCharacterStreampublic Reader getCharacterStream(String parameterName) throws SQLException - Specified by:
- getCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getArraypublic Array getArray(String parameterName) throws SQLException - Specified by:
- getArrayin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getDatepublic Date getDate(String parameterName, Calendar cal) throws SQLException - Specified by:
- getDatein interface- CallableStatement
- Throws:
- SQLException
 
 - 
getTimepublic Time getTime(String parameterName, Calendar cal) throws SQLException - Specified by:
- getTimein interface- CallableStatement
- Throws:
- SQLException
 
 - 
getTimestamppublic Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException - Specified by:
- getTimestampin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getURLpublic URL getURL(String parameterName) throws SQLException - Specified by:
- getURLin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getRowIdpublic RowId getRowId(int parameterIndex) throws SQLException - Specified by:
- getRowIdin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getRowIdpublic RowId getRowId(String parameterName) throws SQLException - Specified by:
- getRowIdin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getSQLXMLpublic SQLXML getSQLXML(int parameterIndex) throws SQLException - Specified by:
- getSQLXMLin interface- CallableStatement
- Throws:
- SQLException
 
 - 
getSQLXMLpublic SQLXML getSQLXML(String parameterName) throws SQLException - Specified by:
- getSQLXMLin interface- CallableStatement
- Throws:
- SQLException
 
 
- 
 
-