|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.melati.poem.dbms.test.sql.Thrower
org.melati.poem.dbms.test.sql.ThrowingStatementJdbc3
public abstract class ThrowingStatementJdbc3
The JDBC3 members of a Statement, decorated to throw SQLException on command.
| Field Summary |
|---|
| Fields inherited from interface java.sql.Statement |
|---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
| Constructor Summary | |
|---|---|
ThrowingStatementJdbc3()
|
|
| Methods inherited from class org.melati.poem.dbms.test.sql.Thrower |
|---|
shouldThrow, startThrowing, startThrowingAfter, stopThrowing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.sql.Statement |
|---|
isClosed, isPoolable, setPoolable |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Constructor Detail |
|---|
public ThrowingStatementJdbc3()
| Method Detail |
|---|
public void addBatch(String sql)
throws SQLException
addBatch in interface StatementSQLExceptionStatement.addBatch(java.lang.String)
public void cancel()
throws SQLException
cancel in interface StatementSQLExceptionStatement.cancel()
public void clearBatch()
throws SQLException
clearBatch in interface StatementSQLExceptionStatement.clearBatch()
public void clearWarnings()
throws SQLException
clearWarnings in interface StatementSQLExceptionStatement.clearWarnings()
public void close()
throws SQLException
close in interface StatementSQLExceptionStatement.close()
public boolean execute(String sql)
throws SQLException
execute in interface StatementSQLExceptionStatement.execute(java.lang.String)
public boolean execute(String sql,
int autoGeneratedKeys)
throws SQLException
execute in interface StatementSQLExceptionStatement.execute(java.lang.String, int)
public boolean execute(String sql,
int[] columnIndexes)
throws SQLException
execute in interface StatementSQLExceptionStatement.execute(java.lang.String, int[])
public boolean execute(String sql,
String[] columnNames)
throws SQLException
execute in interface StatementSQLExceptionStatement.execute(java.lang.String, java.lang.String[])
public int[] executeBatch()
throws SQLException
executeBatch in interface StatementSQLExceptionStatement.executeBatch()
public ResultSet executeQuery(String sql)
throws SQLException
executeQuery in interface StatementSQLExceptionStatement.executeQuery(java.lang.String)
public int executeUpdate(String sql)
throws SQLException
executeUpdate in interface StatementSQLExceptionStatement.executeUpdate(java.lang.String)
public int executeUpdate(String sql,
int autoGeneratedKeys)
throws SQLException
executeUpdate in interface StatementSQLExceptionStatement.executeUpdate(java.lang.String, int)
public int executeUpdate(String sql,
int[] columnIndexes)
throws SQLException
executeUpdate in interface StatementSQLExceptionStatement.executeUpdate(java.lang.String, int[])
public int executeUpdate(String sql,
String[] columnNames)
throws SQLException
executeUpdate in interface StatementSQLExceptionStatement.executeUpdate(java.lang.String, java.lang.String[])
public Connection getConnection()
throws SQLException
getConnection in interface StatementSQLExceptionStatement.getConnection()
public int getFetchDirection()
throws SQLException
getFetchDirection in interface StatementSQLExceptionStatement.getFetchDirection()
public int getFetchSize()
throws SQLException
getFetchSize in interface StatementSQLExceptionStatement.getFetchSize()
public ResultSet getGeneratedKeys()
throws SQLException
getGeneratedKeys in interface StatementSQLExceptionStatement.getGeneratedKeys()
public int getMaxFieldSize()
throws SQLException
getMaxFieldSize in interface StatementSQLExceptionStatement.getMaxFieldSize()
public int getMaxRows()
throws SQLException
getMaxRows in interface StatementSQLExceptionStatement.getMaxRows()
public boolean getMoreResults()
throws SQLException
getMoreResults in interface StatementSQLExceptionStatement.getMoreResults()
public boolean getMoreResults(int current)
throws SQLException
getMoreResults in interface StatementSQLExceptionStatement.getMoreResults(int)
public int getQueryTimeout()
throws SQLException
getQueryTimeout in interface StatementSQLExceptionStatement.getQueryTimeout()
public ResultSet getResultSet()
throws SQLException
getResultSet in interface StatementSQLExceptionStatement.getResultSet()
public int getResultSetConcurrency()
throws SQLException
getResultSetConcurrency in interface StatementSQLExceptionStatement.getResultSetConcurrency()
public int getResultSetHoldability()
throws SQLException
getResultSetHoldability in interface StatementSQLExceptionStatement.getResultSetHoldability()
public int getResultSetType()
throws SQLException
getResultSetType in interface StatementSQLExceptionStatement.getResultSetType()
public int getUpdateCount()
throws SQLException
getUpdateCount in interface StatementSQLExceptionStatement.getUpdateCount()
public SQLWarning getWarnings()
throws SQLException
getWarnings in interface StatementSQLExceptionStatement.getWarnings()
public void setCursorName(String name)
throws SQLException
setCursorName in interface StatementSQLExceptionStatement.setCursorName(java.lang.String)
public void setEscapeProcessing(boolean enable)
throws SQLException
setEscapeProcessing in interface StatementSQLExceptionStatement.setEscapeProcessing(boolean)
public void setFetchDirection(int direction)
throws SQLException
setFetchDirection in interface StatementSQLExceptionStatement.setFetchDirection(int)
public void setFetchSize(int rows)
throws SQLException
setFetchSize in interface StatementSQLExceptionStatement.setFetchSize(int)
public void setMaxFieldSize(int max)
throws SQLException
setMaxFieldSize in interface StatementSQLExceptionStatement.setMaxFieldSize(int)
public void setMaxRows(int max)
throws SQLException
setMaxRows in interface StatementSQLExceptionStatement.setMaxRows(int)
public void setQueryTimeout(int seconds)
throws SQLException
setQueryTimeout in interface StatementSQLExceptionStatement.setQueryTimeout(int)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||