Package org.jdbi.v3.core.statement
Interface StatementBuilderFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Used to specify how prepared statements are built. A factory is attached to a Jdbi instance, and
whenever the Jdbi instance is used to create a Handle the factory will be used to create a
StatementBuilder for that specific handle.
-
Method Summary
-
Method Details
-
createStatementBuilder
Creates a newStatementBuilder
from aConnection
object.- Parameters:
conn
- the connection to create a statement builder for- Returns:
- a StatementBuilder, called when a new handle is opened
-