net.sourceforge.squirrel_sql.plugins.refactoring.commands
Class AddLookupTableCommand.NoAutoCommitCommandExecHandler

java.lang.Object
  extended by net.sourceforge.squirrel_sql.client.session.DefaultSQLExecuterHandler
      extended by net.sourceforge.squirrel_sql.plugins.refactoring.commands.AbstractRefactoringCommand.CommandExecHandler
          extended by net.sourceforge.squirrel_sql.plugins.refactoring.commands.AddLookupTableCommand.NoAutoCommitCommandExecHandler
All Implemented Interfaces:
ISQLExecuterHandler
Enclosing class:
AddLookupTableCommand

protected class AddLookupTableCommand.NoAutoCommitCommandExecHandler
extends AbstractRefactoringCommand.CommandExecHandler

An SQLExecutionHandler that disables auto commit (if enabled) on the current SQLConnection and handles commits and rollbacks of the transaction by itself.


Field Summary
protected  boolean _origAutoCommit
           
 
Fields inherited from class net.sourceforge.squirrel_sql.plugins.refactoring.commands.AbstractRefactoringCommand.CommandExecHandler
exceptionEncountered
 
Constructor Summary
AddLookupTableCommand.NoAutoCommitCommandExecHandler(ISession session)
           
 
Method Summary
 void sqlCloseExecutionHandler(ArrayList<String> errMsgs, String lastExecutedStatement)
           
 
Methods inherited from class net.sourceforge.squirrel_sql.plugins.refactoring.commands.AbstractRefactoringCommand.CommandExecHandler
exceptionEncountered, sqlExecutionException
 
Methods inherited from class net.sourceforge.squirrel_sql.client.session.DefaultSQLExecuterHandler
sqlDataUpdated, sqlExecutionCancelled, sqlExecutionComplete, sqlExecutionWarning, sqlResultSetAvailable, sqlStatementCount, sqlToBeExecuted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_origAutoCommit

protected boolean _origAutoCommit
Constructor Detail

AddLookupTableCommand.NoAutoCommitCommandExecHandler

public AddLookupTableCommand.NoAutoCommitCommandExecHandler(ISession session)
                                                     throws SQLException
Throws:
SQLException
Method Detail

sqlCloseExecutionHandler

public void sqlCloseExecutionHandler(ArrayList<String> errMsgs,
                                     String lastExecutedStatement)
Specified by:
sqlCloseExecutionHandler in interface ISQLExecuterHandler
Overrides:
sqlCloseExecutionHandler in class DefaultSQLExecuterHandler


Copyright © 2001-2012. All Rights Reserved.