class SpringFlushSynchronization extends TransactionSynchronizationAdapter
flush()
call
to the underlying Hibernate Session. Used in combination with JTA.Modifier and Type | Field and Description |
---|---|
private Session |
session |
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
SpringFlushSynchronization(Session session) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
void |
flush()
Flush the underlying session to the datastore, if applicable:
for example, a Hibernate/JPA session.
|
int |
hashCode() |
afterCommit, afterCompletion, beforeCommit, beforeCompletion, getOrder, resume, suspend
public void flush()
TransactionSynchronization
flush
in interface TransactionSynchronization
flush
in class TransactionSynchronizationAdapter
TransactionStatus.flush()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object