public.javadoc.org.spincast.plugins.jdbc.class-use.JdbcQueries.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
Uses of Interface org.spincast.plugins.jdbc.JdbcQueries (org.spincast:spincast-framework 1.0.0 API)
Uses of Interface
org.spincast.plugins.jdbc.JdbcQueries
-
Packages that use JdbcQueries
Package
Description
org.spincast.plugins.jdbc
-
-
Uses of JdbcQueries in org.spincast.plugins.jdbc
Methods in org.spincast.plugins.jdbc with parameters of type JdbcQueries
Modifier and Type
Method and Description
<T> T
JdbcScope.autoCommit(DataSource dataSource,
JdbcQueries<T> queries)
Executes the queries
with a Connection
guaranteed to not be closed during the process.
<T> T
JdbcScope.specificConnection(Connection connection,
DataSource dataSource,
JdbcQueries<T> queries)
Starts a scope where only the specified connection.
<T> T
JdbcScope.transactional(DataSource dataSource,
JdbcQueries<T> queries)
Executes the queries
in a transaction
by setting the Connection#setAutoCommit()
property
to false
.
Copyright © 2019. All rights reserved.