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

java.lang.Object
  extended by org.mule.module.db.internal.domain.executor.AbstractExecutor
Direct Known Subclasses:
AbstractSingleQueryExecutor, BulkUpdateExecutor

public abstract class AbstractExecutor
extends Object

Base class for query executors


Field Summary
protected  org.apache.commons.logging.Log logger
           
protected  QueryLoggerFactory queryLoggerFactory
           
protected  StatementFactory statementFactory
           
 
Constructor Summary
AbstractExecutor(StatementFactory statementFactory)
           
 
Method Summary
protected  void doProcessParameters(PreparedStatement statement, QueryTemplate queryTemplate, List<QueryParamValue> paramValues, SingleQueryLogger queryLogger)
           
protected  void processInputParam(PreparedStatement statement, int index, Object value, DbType type)
           
 void setQueryLoggerFactory(QueryLoggerFactory queryLoggerFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger

statementFactory

protected final StatementFactory statementFactory

queryLoggerFactory

protected QueryLoggerFactory queryLoggerFactory
Constructor Detail

AbstractExecutor

public AbstractExecutor(StatementFactory statementFactory)
Method Detail

doProcessParameters

protected void doProcessParameters(PreparedStatement statement,
                                   QueryTemplate queryTemplate,
                                   List<QueryParamValue> paramValues,
                                   SingleQueryLogger queryLogger)
                            throws SQLException
Throws:
SQLException

processInputParam

protected void processInputParam(PreparedStatement statement,
                                 int index,
                                 Object value,
                                 DbType type)
                          throws SQLException
Throws:
SQLException

setQueryLoggerFactory

public void setQueryLoggerFactory(QueryLoggerFactory queryLoggerFactory)


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