public interface SqlStatementParameterCustomizer
SqlStatement according to the value of an annotated parameter.| Modifier and Type | Method and Description |
|---|---|
void |
apply(SqlStatement<?> stmt,
Object arg)
Applies the customization to the SQL statement using the argument passed to the method.
|
default void |
warm(ConfigRegistry config)
Called after the customizer is instantiated but before any statement is available,
to pre-initialize any configuration data structures.
|
void apply(SqlStatement<?> stmt, Object arg) throws SQLException
stmt - the statement being customizedarg - the argument passed to the methodSQLException - will abort statement creation@Beta default void warm(ConfigRegistry config)
config - the configuration registry to warmCopyright © 2020. All rights reserved.