Package org.jdbi.v3.sqlobject.customizer
Interface SqlStatementCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Used with
SqlStatementCustomizerFactory
to
customize sql statements via annotations.-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(SqlStatement<?> q) Invoked to customize the sql statementdefault void
warm
(ConfigRegistry config) Called after the customizer is instantiated but before any statement is available, to pre-initialize any configuration data structures.
-
Method Details
-
apply
Invoked to customize the sql statement- Parameters:
q
- the statement being customized- Throws:
SQLException
- will abort statement creation
-
warm
Called after the customizer is instantiated but before any statement is available, to pre-initialize any configuration data structures.- Parameters:
config
- the configuration registry to warm
-