@FunctionalInterface public interface SqlStatementCustomizer
SqlStatementCustomizerFactory to
customize sql statements via annotations.| Modifier and Type | Method and Description |
|---|---|
void |
apply(SqlStatement<?> q)
Invoked to customize the sql statement
|
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<?> q) throws SQLException
q - the statement being customizedSQLException - will abort statement creation@Beta default void warm(ConfigRegistry config)
config - the configuration registry to warmCopyright © 2020. All rights reserved.