org.mule.module.db.internal.domain.executor
Interface BulkExecutor

All Known Implementing Classes:
BulkUpdateExecutor

public interface BulkExecutor

Executes bulk queries against a database


Method Summary
 Object execute(DbConnection connection, BulkQuery bulkQuery)
          Executes a bulk query
 Object execute(DbConnection connection, Query query, List<List<QueryParamValue>> paramValues)
          Executes a parameterized query using a bulk of parameter sets
 

Method Detail

execute

Object execute(DbConnection connection,
               BulkQuery bulkQuery)
               throws SQLException
Executes a bulk query

Parameters:
connection - connection to the database where the query will be executed. Non null
bulkQuery - 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

Object execute(DbConnection connection,
               Query query,
               List<List<QueryParamValue>> paramValues)
               throws SQLException
Executes a parameterized query using a bulk of parameter sets

Parameters:
connection - connection to the database where the query will be executed. Non null
query - parameterized query to executed using the sets of parameters
paramValues - 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.