org.mule.module.db.internal.domain.executor
Class BulkUpdateExecutor
java.lang.Object
org.mule.module.db.internal.domain.executor.AbstractExecutor
org.mule.module.db.internal.domain.executor.BulkUpdateExecutor
- All Implemented Interfaces:
- BulkExecutor
public class BulkUpdateExecutor
- extends AbstractExecutor
- implements BulkExecutor
Executes bulk queries
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BulkUpdateExecutor
public BulkUpdateExecutor(StatementFactory statementFactory)
execute
public Object execute(DbConnection connection,
BulkQuery bulkQuery)
throws SQLException
- Description copied from interface:
BulkExecutor
- Executes a bulk query
- Specified by:
execute in interface BulkExecutor
- Parameters:
connection - connection to the database where the query will be executed. Non nullbulkQuery - contains a group of non parameterized queries to execute
- Returns:
- a non null result of the query execution
- Throws:
SQLException - if a database access error occurs or this method is called on a closed connection
execute
public Object execute(DbConnection connection,
Query query,
List<List<QueryParamValue>> paramValues)
throws SQLException
- Description copied from interface:
BulkExecutor
- Executes a parameterized query using a bulk of parameter sets
- Specified by:
execute in interface BulkExecutor
- Parameters:
connection - connection to the database where the query will be executed. Non nullquery - parameterized query to executed using the sets of parametersparamValues - parameters to use to execute the query
- Returns:
- a non null result of the query execution
- Throws:
SQLException - if a database access error occurs or this method is called on a closed connection
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.