org.apache.derby.iapi.jdbc
Class BrokeredStatement40

java.lang.Object
  extended by org.apache.derby.iapi.jdbc.BrokeredStatement
      extended by org.apache.derby.iapi.jdbc.BrokeredStatement40
All Implemented Interfaces:
java.sql.Statement, java.sql.Wrapper, EngineStatement

public class BrokeredStatement40
extends BrokeredStatement


Field Summary
 
Fields inherited from class org.apache.derby.iapi.jdbc.BrokeredStatement
control, resultSetConcurrency, resultSetHoldability, resultSetType
 
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
BrokeredStatement40(BrokeredStatementControl control)
          calls the superclass constructor to pass the parameters
 
Method Summary
 boolean isClosed()
          Checks if the statement is closed.
 boolean isPoolable()
          Forwards to the real Statement.
 void setPoolable(boolean poolable)
          Forwards to the real Statement.
<T> T
unwrap(java.lang.Class<T> interfaces)
          Returns this if this class implements the interface
 
Methods inherited from class org.apache.derby.iapi.jdbc.BrokeredStatement
addBatch, cancel, checkIfClosed, clearBatch, clearWarnings, close, controlCheck, createDuplicateStatement, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getStatement, getUpdateCount, getWarnings, isWrapperFor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, setStatementState, wrapResultSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokeredStatement40

BrokeredStatement40(BrokeredStatementControl control)
              throws java.sql.SQLException
calls the superclass constructor to pass the parameters

Parameters:
control - BrokeredStatementControl
Throws:
java.sql.SQLException
Method Detail

isClosed

public final boolean isClosed()
                       throws java.sql.SQLException
Checks if the statement is closed.

Specified by:
isClosed in interface java.sql.Statement
Overrides:
isClosed in class BrokeredStatement
Returns:
true if the statement is closed, false otherwise
Throws:
java.sql.SQLException - if an error occurs

unwrap

public <T> T unwrap(java.lang.Class<T> interfaces)
         throws java.sql.SQLException
Returns this if this class implements the interface

Parameters:
interfaces - a Class defining an interface
Returns:
an object that implements the interface
Throws:
java.sql.SQLExption - if no object if found that implements the interface
java.sql.SQLException

isPoolable

public boolean isPoolable()
                   throws java.sql.SQLException
Forwards to the real Statement.

Returns:
true if the underlying Statement is poolable, false otherwise.
Throws:
java.sql.SQLException - if the forwarding call fails.

setPoolable

public void setPoolable(boolean poolable)
                 throws java.sql.SQLException
Forwards to the real Statement.

Parameters:
poolable - the new value for the poolable hint.
Throws:
java.sql.SQLException - if the forwarding call fails.

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.