public class TransactionObject extends java.lang.Object implements org.springframework.transaction.support.SmartTransactionObject
A transaction object returned when the transaction is created.
Modifiers | Name | Description |
---|---|---|
private boolean |
newSession |
|
private boolean |
newSessionHolder |
|
private SessionHolder |
sessionHolder |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
flush() |
|
public SessionHolder |
getSessionHolder() |
|
public Transaction<?> |
getTransaction() |
|
public boolean |
isNewSession() |
|
public boolean |
isNewSessionHolder() |
|
public boolean |
isRollbackOnly() |
|
public void |
setExistingSession(Session session) |
|
public void |
setSession(Session session) |
|
public void |
setSessionHolder(SessionHolder sessionHolder) |
|
public void |
setTransaction(Transaction<?> transaction)
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |