org.mule.module.db.internal.domain.executor
Class UpdateExecutor

java.lang.Object
  extended by org.mule.module.db.internal.domain.executor.AbstractExecutor
      extended by org.mule.module.db.internal.domain.executor.AbstractSingleQueryExecutor
          extended by org.mule.module.db.internal.domain.executor.UpdateExecutor
All Implemented Interfaces:
QueryExecutor

public class UpdateExecutor
extends AbstractSingleQueryExecutor

Executes queries that return an update count or an update count and auto generated keys


Field Summary
 
Fields inherited from class org.mule.module.db.internal.domain.executor.AbstractExecutor
logger, queryLoggerFactory, statementFactory
 
Constructor Summary
UpdateExecutor(StatementFactory statementFactory)
           
 
Method Summary
protected  Object doExecuteQuery(DbConnection connection, Statement statement, Query query)
           
protected  Object doExecuteQuery(DbConnection dbConnection, Statement statement, Query query, AutoGeneratedKeyStrategy autoGeneratedKeyStrategy)
           
 
Methods inherited from class org.mule.module.db.internal.domain.executor.AbstractSingleQueryExecutor
execute, execute, prepareQuery
 
Methods inherited from class org.mule.module.db.internal.domain.executor.AbstractExecutor
doProcessParameters, processInputParam, setQueryLoggerFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateExecutor

public UpdateExecutor(StatementFactory statementFactory)
Method Detail

doExecuteQuery

protected Object doExecuteQuery(DbConnection connection,
                                Statement statement,
                                Query query)
                         throws SQLException
Specified by:
doExecuteQuery in class AbstractSingleQueryExecutor
Throws:
SQLException

doExecuteQuery

protected Object doExecuteQuery(DbConnection dbConnection,
                                Statement statement,
                                Query query,
                                AutoGeneratedKeyStrategy autoGeneratedKeyStrategy)
                         throws SQLException
Specified by:
doExecuteQuery in class AbstractSingleQueryExecutor
Throws:
SQLException


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.