public interface QueryExecutor
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(DbConnection connection,
Query query)
Executes a query
|
Object |
execute(DbConnection connection,
Query query,
AutoGeneratedKeyStrategy autoGeneratedKeyStrategy) |
Object execute(DbConnection connection, Query query) throws SQLException
connection - connection to the database where the query will be executed. Non nullquery - query to execute. Non nullSQLException - if a database access error occurs or this method is called on a closed connectionObject execute(DbConnection connection, Query query, AutoGeneratedKeyStrategy autoGeneratedKeyStrategy) throws SQLException
connection - connection to the database where the query will be executed. Non nullquery - query to execute. Non nullautoGeneratedKeyStrategy - strategy used to process auto generated keys. Non nullSQLException - if a database access error occurs or this method is called on a closed connection or
there is an error processing auto generated keysCopyright © 2003–2020 MuleSoft, Inc.. All rights reserved.