org.melati.poem.dbms.test.sql
Class ThrowingStatementJdbc4

Package class diagram package ThrowingStatementJdbc4
java.lang.Object
  extended by org.melati.poem.dbms.test.sql.Thrower
      extended by org.melati.poem.dbms.test.sql.ThrowingStatementJdbc3
          extended by org.melati.poem.dbms.test.sql.ThrowingStatementJdbc4
All Implemented Interfaces:
Statement, Wrapper
Direct Known Subclasses:
ThrowingStatementVariant

public abstract class ThrowingStatementJdbc4
extends ThrowingStatementJdbc3

The JDBC4 members of a Statement, decorated to throw SQLException on command.

Since:
5 Feb 2008
Author:
timp

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
ThrowingStatementJdbc4()
           
 
Method Summary
 boolean isClosed()
          
 boolean isPoolable()
          
 boolean isWrapperFor(Class<?> iface)
          
 void setPoolable(boolean poolable)
          
<T> T
unwrap(Class<T> iface)
          
 
Methods inherited from class org.melati.poem.dbms.test.sql.ThrowingStatementJdbc3
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 
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
 

Constructor Detail

ThrowingStatementJdbc4

public ThrowingStatementJdbc4()
Method Detail

isClosed

public boolean isClosed()
                 throws SQLException

Throws:
SQLException
See Also:
Statement.isClosed()

isPoolable

public boolean isPoolable()
                   throws SQLException

Throws:
SQLException
See Also:
Statement.isPoolable()

setPoolable

public void setPoolable(boolean poolable)
                 throws SQLException

Throws:
SQLException
See Also:
Statement.setPoolable(boolean)

isWrapperFor

public boolean isWrapperFor(Class<?> iface)
                     throws SQLException

Throws:
SQLException
See Also:
Wrapper.isWrapperFor(java.lang.Class)

unwrap

public <T> T unwrap(Class<T> iface)
         throws SQLException

Throws:
SQLException
See Also:
Wrapper.unwrap(java.lang.Class)


Copyright © 2000-2010 PanEris. All Rights Reserved.