Package org.jdbi.v3.core.statement
Interface StatementBuilderFactory
-
public interface StatementBuilderFactoryUsed 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatementBuildercreateStatementBuilder(java.sql.Connection conn)Creates a newStatementBuilderfrom aConnectionobject.
-
-
-
Method Detail
-
createStatementBuilder
StatementBuilder createStatementBuilder(java.sql.Connection conn)
Creates a newStatementBuilderfrom aConnectionobject.- Parameters:
conn- the connection to create a statement builder for- Returns:
- a StatementBuilder, called when a new handle is opened
-
-