类 MockPreparedStatement
java.lang.Object
com.alibaba.druid.util.jdbc.StatementBase
com.alibaba.druid.util.jdbc.PreparedStatementBase
com.alibaba.druid.mock.MockPreparedStatement
- 所有已实现的接口:
MockStatementBase,AutoCloseable,PreparedStatement,Statement,Wrapper
- 直接已知子类:
MockCallableStatement
public class MockPreparedStatement
extends PreparedStatementBase
implements MockStatementBase, PreparedStatement
-
字段概要
从类继承的字段 com.alibaba.druid.util.jdbc.StatementBase
closed, generatedKeys, resultSet -
构造器概要
构造器 -
方法概要
从类继承的方法 com.alibaba.druid.util.jdbc.PreparedStatementBase
addBatch, clearParameters, getMetaData, getParameterMetaData, getParameters, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL从类继承的方法 com.alibaba.druid.util.jdbc.StatementBase
addBatch, cancel, checkOpen, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getCursorName, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isEscapeProcessing, isPoolable, isWrapperFor, setConnection, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setGeneratedKeys, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, setResultSet, setResultSetConcurrency, setResultSetHoldability, setResultSetType, setUpdateCount, setWarning, setWarnings, unwrap从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.sql.PreparedStatement
addBatch, clearParameters, executeLargeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL从接口继承的方法 java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout从接口继承的方法 java.sql.Wrapper
isWrapperFor, unwrap
-
构造器详细资料
-
MockPreparedStatement
-
-
方法详细资料
-
getSql
-
getConnection
- 指定者:
getConnection在接口中MockStatementBase- 指定者:
getConnection在接口中Statement- 覆盖:
getConnection在类中StatementBase- 抛出:
SQLException
-
executeQuery
- 指定者:
executeQuery在接口中PreparedStatement- 抛出:
SQLException
-
executeUpdate
- 指定者:
executeUpdate在接口中PreparedStatement- 抛出:
SQLException
-
execute
- 指定者:
execute在接口中PreparedStatement- 抛出:
SQLException
-
getResultSet
- 指定者:
getResultSet在接口中Statement- 覆盖:
getResultSet在类中StatementBase- 抛出:
SQLException
-