|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.alibaba.druid.util.jdbc.StatementBase
com.alibaba.druid.util.jdbc.PreparedStatementBase
com.alibaba.druid.mock.MockPreparedStatement
public class MockPreparedStatement
| 字段摘要 |
|---|
| 从接口 java.sql.Statement 继承的字段 |
|---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
| 构造方法摘要 | |
|---|---|
MockPreparedStatement(MockConnection conn,
String sql)
|
|
| 方法摘要 | |
|---|---|
boolean |
execute()
|
ResultSet |
executeQuery()
|
int |
executeUpdate()
|
MockConnection |
getConnection()
|
ResultSet |
getResultSet()
|
String |
getSql()
|
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 从接口 java.sql.Wrapper 继承的方法 |
|---|
isWrapperFor, unwrap |
| 构造方法详细信息 |
|---|
public MockPreparedStatement(MockConnection conn,
String sql)
| 方法详细信息 |
|---|
public String getSql()
public MockConnection getConnection()
throws SQLException
MockStatementBase 中的 getConnectionStatement 中的 getConnectionStatementBase 中的 getConnectionSQLException
public ResultSet executeQuery()
throws SQLException
PreparedStatement 中的 executeQuerySQLException
public int executeUpdate()
throws SQLException
PreparedStatement 中的 executeUpdateSQLException
public boolean execute()
throws SQLException
PreparedStatement 中的 executeSQLException
public ResultSet getResultSet()
throws SQLException
Statement 中的 getResultSetStatementBase 中的 getResultSetSQLException
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||