public interface StatementFactory
| Modifier and Type | Method and Description |
|---|---|
Statement |
create(DbConnection connection,
QueryTemplate queryTemplate)
Creates a JDBC statement
|
Statement |
create(DbConnection connection,
QueryTemplate queryTemplate,
AutoGeneratedKeyStrategy autoGeneratedKeyStrategy)
Creates a JDBC statement with auto generated keys processing
|
Statement create(DbConnection connection, QueryTemplate queryTemplate) throws SQLException
connection - connection uses to create the statementqueryTemplate - query template that will be execute on the statementSQLException - if a database access error occurs or this method is called on a closed connectionStatement create(DbConnection connection, QueryTemplate queryTemplate, AutoGeneratedKeyStrategy autoGeneratedKeyStrategy) throws SQLException
connection - connection uses to create the statementqueryTemplate - query template that will be execute on the statementautoGeneratedKeyStrategy - strategy to process auto generated keysSQLException - if a database access error occurs or this method is called on a closed connectionCopyright © 2003–2023 MuleSoft, Inc.. All rights reserved.