|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Statement
SQLException
Statement.addBatch(java.lang.String)
public void cancel() throws SQLException
cancel
in interface Statement
SQLException
Statement.cancel()
public void clearBatch() throws SQLException
clearBatch
in interface Statement
SQLException
Statement.clearBatch()
public void clearWarnings() throws SQLException
clearWarnings
in interface Statement
SQLException
Statement.clearWarnings()
public void close() throws SQLException
close
in interface Statement
SQLException
Statement.close()
public boolean execute(String sql) throws SQLException
execute
in interface Statement
SQLException
Statement.execute(java.lang.String)
public boolean execute(String sql, int autoGeneratedKeys) throws SQLException
execute
in interface Statement
SQLException
Statement.execute(java.lang.String, int)
public boolean execute(String sql, int[] columnIndexes) throws SQLException
execute
in interface Statement
SQLException
Statement.execute(java.lang.String, int[])
public boolean execute(String sql, String[] columnNames) throws SQLException
execute
in interface Statement
SQLException
Statement.execute(java.lang.String, java.lang.String[])
public int[] executeBatch() throws SQLException
executeBatch
in interface Statement
SQLException
Statement.executeBatch()
public ResultSet executeQuery(String sql) throws SQLException
executeQuery
in interface Statement
SQLException
Statement.executeQuery(java.lang.String)
public int executeUpdate(String sql) throws SQLException
executeUpdate
in interface Statement
SQLException
Statement.executeUpdate(java.lang.String)
public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
executeUpdate
in interface Statement
SQLException
Statement.executeUpdate(java.lang.String, int)
public int executeUpdate(String sql, int[] columnIndexes) throws SQLException
executeUpdate
in interface Statement
SQLException
Statement.executeUpdate(java.lang.String, int[])
public int executeUpdate(String sql, String[] columnNames) throws SQLException
executeUpdate
in interface Statement
SQLException
Statement.executeUpdate(java.lang.String, java.lang.String[])
public Connection getConnection() throws SQLException
getConnection
in interface Statement
SQLException
Statement.getConnection()
public int getFetchDirection() throws SQLException
getFetchDirection
in interface Statement
SQLException
Statement.getFetchDirection()
public int getFetchSize() throws SQLException
getFetchSize
in interface Statement
SQLException
Statement.getFetchSize()
public ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys
in interface Statement
SQLException
Statement.getGeneratedKeys()
public int getMaxFieldSize() throws SQLException
getMaxFieldSize
in interface Statement
SQLException
Statement.getMaxFieldSize()
public int getMaxRows() throws SQLException
getMaxRows
in interface Statement
SQLException
Statement.getMaxRows()
public boolean getMoreResults() throws SQLException
getMoreResults
in interface Statement
SQLException
Statement.getMoreResults()
public boolean getMoreResults(int current) throws SQLException
getMoreResults
in interface Statement
SQLException
Statement.getMoreResults(int)
public int getQueryTimeout() throws SQLException
getQueryTimeout
in interface Statement
SQLException
Statement.getQueryTimeout()
public ResultSet getResultSet() throws SQLException
getResultSet
in interface Statement
SQLException
Statement.getResultSet()
public int getResultSetConcurrency() throws SQLException
getResultSetConcurrency
in interface Statement
SQLException
Statement.getResultSetConcurrency()
public int getResultSetHoldability() throws SQLException
getResultSetHoldability
in interface Statement
SQLException
Statement.getResultSetHoldability()
public int getResultSetType() throws SQLException
getResultSetType
in interface Statement
SQLException
Statement.getResultSetType()
public int getUpdateCount() throws SQLException
getUpdateCount
in interface Statement
SQLException
Statement.getUpdateCount()
public SQLWarning getWarnings() throws SQLException
getWarnings
in interface Statement
SQLException
Statement.getWarnings()
public void setCursorName(String name) throws SQLException
setCursorName
in interface Statement
SQLException
Statement.setCursorName(java.lang.String)
public void setEscapeProcessing(boolean enable) throws SQLException
setEscapeProcessing
in interface Statement
SQLException
Statement.setEscapeProcessing(boolean)
public void setFetchDirection(int direction) throws SQLException
setFetchDirection
in interface Statement
SQLException
Statement.setFetchDirection(int)
public void setFetchSize(int rows) throws SQLException
setFetchSize
in interface Statement
SQLException
Statement.setFetchSize(int)
public void setMaxFieldSize(int max) throws SQLException
setMaxFieldSize
in interface Statement
SQLException
Statement.setMaxFieldSize(int)
public void setMaxRows(int max) throws SQLException
setMaxRows
in interface Statement
SQLException
Statement.setMaxRows(int)
public void setQueryTimeout(int seconds) throws SQLException
setQueryTimeout
in interface Statement
SQLException
Statement.setQueryTimeout(int)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |