public class EmptyTransactionAdapter extends Object implements Transactional
Modifier and Type | Method and Description |
---|---|
void |
begin()
The TransactionManager.begin method starts a global transaction and associates
the transaction context with the calling thread.
|
void |
commit()
The TransactionManager.commit method completes the transaction currently associated
with the calling thread.
|
static Transactional |
empty() |
TransactionType |
geTransactionType()
Type of transactions supported by the repository
|
TransactionStatus |
getStatus() |
void |
rollback()
The TransactionManager.rollback method rolls back the transaction associated with the current thread.
|
String |
toString() |
public static Transactional empty()
public TransactionType geTransactionType()
Transactional
geTransactionType
in interface Transactional
public TransactionStatus getStatus()
getStatus
in interface Transactional
public void begin()
Transactional
begin
in interface Transactional
public void commit()
Transactional
commit
in interface Transactional
public void rollback()
Transactional
rollback
in interface Transactional
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.