public interface TransactionalTarget extends Target, QueryReceiver
Modifier and Type | Method and Description |
---|---|
default OpenTransactionDataBaseTarget |
beginTransaction() |
default <R> R |
wrapTransaction(Function<OpenTransactionDataBaseTarget,R> consumer) |
default <R> void |
wrapTransactionAsynch(Function<OpenTransactionDataBaseTarget,R> consumer) |
default <R> void |
wrapTransactionAsynch(Function<OpenTransactionDataBaseTarget,R> consumer,
Executor executor) |
delete, delete, insert, insert, readEntity, readEntityList, readField, readFieldList, readPlate, readPlateList, toSqlQuery, update, update
aroundTransaction, getTables, isBuffer, isConnectedToDatabase, isLogQueriesEnabled, isTransactionActive
getLog
default OpenTransactionDataBaseTarget beginTransaction()
beginTransaction
in interface Target
default <R> void wrapTransactionAsynch(Function<OpenTransactionDataBaseTarget,R> consumer)
default <R> void wrapTransactionAsynch(Function<OpenTransactionDataBaseTarget,R> consumer, Executor executor)
default <R> R wrapTransaction(Function<OpenTransactionDataBaseTarget,R> consumer)
Copyright © 2021. All rights reserved.