org.enhydra.jdbc.standard
Class StandardXAStatement

java.lang.Object
  |
  +--org.enhydra.jdbc.util.JdbcUtil
        |
        +--org.enhydra.jdbc.core.CoreStatement
              |
              +--org.enhydra.jdbc.standard.StandardXAStatement
All Implemented Interfaces:
java.sql.Statement

public class StandardXAStatement
extends CoreStatement


Field Summary
 
Fields inherited from class org.enhydra.jdbc.core.CoreStatement
statement
 
Fields inherited from class org.enhydra.jdbc.util.JdbcUtil
log
 
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
 
Method Summary
 void catchInvoke(java.sql.SQLException sqlException)
          Exception management : catch or throw the exception
 void close()
          Close this statement.
 void preInvoke()
          Pre-invokation of the delegation, in case of the Statement is closed, we throw an exception !!!!!!!!!!
 
Methods inherited from class org.enhydra.jdbc.core.CoreStatement
addBatch, cancel, clearBatch, clearWarnings, 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.enhydra.jdbc.util.JdbcUtil
setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public void close()
           throws java.sql.SQLException
Close this statement.

Specified by:
close in interface java.sql.Statement
Overrides:
close in class CoreStatement
java.sql.SQLException

preInvoke

public void preInvoke()
               throws java.sql.SQLException
Pre-invokation of the delegation, in case of the Statement is closed, we throw an exception !!!!!!!!!! BE CAREFUL - March 31, 2003 this method is no longer used ! please see CoreStatement and StdXAConnectionHandle (moved code)

Specified by:
preInvoke in class CoreStatement
java.sql.SQLException

catchInvoke

public void catchInvoke(java.sql.SQLException sqlException)
                 throws java.sql.SQLException
Exception management : catch or throw the exception

Specified by:
catchInvoke in class CoreStatement
java.sql.SQLException