Uses of Class
st.orm.template.ORMTemplate.Builder
Packages that use ORMTemplate.Builder
-
Uses of ORMTemplate.Builder in st.orm.template
Methods in st.orm.template that return ORMTemplate.BuilderModifier and TypeMethodDescriptionstatic ORMTemplate.BuilderORMTemplate.builder(Connection connection) Returns a builder for constructing anORMTemplatebacked by a single connection, with instance-scoped integration strategies.static ORMTemplate.BuilderORMTemplate.builder(DataSource dataSource) Returns a builder for constructing anORMTemplatewith instance-scoped integration strategies.ORMTemplate.Builder.config(StormConfig config) Sets the Storm configuration to apply to the template instance.ORMTemplate.Builder.connectionProvider(st.orm.core.spi.ConnectionProvider connectionProvider) Sets the connection provider used by the template to acquire and release connections.ORMTemplate.Builder.decorator(UnaryOperator<TemplateDecorator> decorator) Sets a function that transforms theTemplateDecoratorto customize template processing.ORMTemplate.Builder.exceptionMapper(st.orm.core.spi.ExceptionMapper exceptionMapper) Sets the exception mapper that maps failures raised during query execution to the runtime exception thrown to the caller.ORMTemplate.Builder.manualCommitConnections()Declares that the data source hands out connections with auto-commit disabled.ORMTemplate.Builder.queryObserver(st.orm.core.spi.QueryObserver queryObserver) Sets the query observer that is notified of query executions performed by the template.ORMTemplate.Builder.sqlCommenter(st.orm.core.spi.SqlCommenter sqlCommenter) Sets the SQL commenter that appends per-execution comment content to statements, such as the current trace context.ORMTemplate.Builder.transactionTemplateProvider(st.orm.core.spi.TransactionTemplateProvider transactionTemplateProvider) Sets the transaction template provider used by the template to participate in transactions.