@FunctionalInterface public static interface JdbcDialect.StatementConfigurator
PreparedStatement configurator.| Modifier and Type | Method and Description |
|---|---|
void |
configureStatement(Connection connection,
PreparedStatement statement,
String sql,
List<com.holonplatform.datastore.jdbc.internal.support.ParameterValue> parameterValues)
Configure given
statement, setting any parameter value. |
static JdbcDialect.StatementConfigurator |
create(JdbcDialect dialect)
Create a new
JdbcDialect.StatementConfigurator using given dialect. |
void configureStatement(Connection connection, PreparedStatement statement, String sql, List<com.holonplatform.datastore.jdbc.internal.support.ParameterValue> parameterValues) throws JdbcDialect.StatementConfigurationException
statement, setting any parameter value.connection - Connectionstatement - Statement to configuresql - The precompiled SQL statementparameterValues - Parameter values to set (if any), in the right sequenceJdbcDialect.StatementConfigurationException - If an error occurredstatic JdbcDialect.StatementConfigurator create(JdbcDialect dialect)
JdbcDialect.StatementConfigurator using given dialect.dialect - JDBC dialectCopyright © 2017 The Holon Platform. All rights reserved.