Uses of Class
com.landawn.abacus.jdbc.SQLTransaction
Packages that use SQLTransaction
-
Uses of SQLTransaction in com.landawn.abacus.jdbc
Methods in com.landawn.abacus.jdbc that return SQLTransactionModifier and TypeMethodDescriptionstatic SQLTransaction
JdbcUtil.beginTransaction
(DataSource dataSource) Refer to:beginTransaction(javax.sql.DataSource, IsolationLevel, boolean)
.static SQLTransaction
JdbcUtil.beginTransaction
(DataSource dataSource, IsolationLevel isolationLevel) Refer to:beginTransaction(javax.sql.DataSource, IsolationLevel, boolean)
.static SQLTransaction
JdbcUtil.beginTransaction
(DataSource dataSource, IsolationLevel isolationLevel, boolean isForUpdateOnly) Starts a global transaction which will be shared by all in-line database query with the sameDataSource
in the same thread, including methods:JdbcUtil.beginTransaction/prepareQuery/prepareNamedQuery/prepareCallableQuery, SQLExecutor(Mapper).beginTransaction/get/insert/batchInsert/update/batchUpdate/query/list/findFirst/...
Spring Transaction is supported and Integrated.SQLExecutor.beginTransaction()
Refer tobeginTransaction(IsolationLevel, boolean, JdbcSettings)
.SQLExecutor.beginTransaction
(boolean forUpdateOnly) Refer tobeginTransaction(IsolationLevel, boolean, JdbcSettings)
.SQLExecutor.beginTransaction
(IsolationLevel isolationLevel) Refer tobeginTransaction(IsolationLevel, boolean, JdbcSettings)
.SQLExecutor.beginTransaction
(IsolationLevel isolationLevel, boolean forUpdateOnly) Refer tobeginTransaction(IsolationLevel, boolean, JdbcSettings)
.SQLExecutor.beginTransaction
(IsolationLevel isolationLevel, boolean forUpdateOnly, JdbcSettings jdbcSettings) If this method is called where a transaction is started byJdbcUtil.beginTransaction
or inSpring
with the sameDataSource
in the same thread, theConnection
started the Transaction will be used here.