public enum DefaultSQLStatementConfigurator extends Enum<DefaultSQLStatementConfigurator> implements SQLStatementConfigurator
SQLStatementConfigurator.| Enum Constant and Description |
|---|
INSTANCE
Singleton instance
|
| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
configureStatement(SQLContext context,
PreparedStatement jdbcStatement,
SQLStatement sqlStatement)
Configure given
PreparedStatement, setting the statement parameter values, if necessary. |
static DefaultSQLStatementConfigurator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultSQLStatementConfigurator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetDefaultpublic static final DefaultSQLStatementConfigurator INSTANCE
public static DefaultSQLStatementConfigurator[] values()
for (DefaultSQLStatementConfigurator c : DefaultSQLStatementConfigurator.values()) System.out.println(c);
public static DefaultSQLStatementConfigurator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic PreparedStatement configureStatement(SQLContext context, PreparedStatement jdbcStatement, SQLStatement sqlStatement) throws SQLException
SQLStatementConfiguratorPreparedStatement, setting the statement parameter values, if necessary.configureStatement in interface SQLStatementConfiguratorcontext - SQL contextjdbcStatement - The JDBC statement to configure (not null)sqlStatement - The SQL statement definition (not null)SQLException - If an error occurredCopyright © 2019 The Holon Platform. All rights reserved.