public class BulkUpdateExecutor extends AbstractExecutor implements BulkExecutor
LOGGER, queryLoggerFactory, statementFactory| Constructor and Description |
|---|
BulkUpdateExecutor(StatementFactory statementFactory) |
| Modifier and Type | Method and Description |
|---|---|
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
|
doProcessParameters, processInputParampublic BulkUpdateExecutor(StatementFactory statementFactory)
public Object execute(DbConnection connection, BulkQuery bulkQuery) throws SQLException
BulkExecutorexecute in interface BulkExecutorconnection - connection to the database where the query will be executed. Non nullbulkQuery - contains a group of non parameterized queries to executeSQLException - if a database access error occurs or this method is called on a closed connectionpublic Object execute(DbConnection connection, Query query, List<List<QueryParamValue>> paramValues) throws SQLException
BulkExecutorexecute in interface BulkExecutorconnection - 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 querySQLException - if a database access error occurs or this method is called on a closed connectionCopyright © 2024. All rights reserved.