Package org.jdbi.v3.core.statement
Interface StatementBuilderFactory
public interface StatementBuilderFactory
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
-