public class SpringFlushSynchronization extends TransactionSynchronizationAdapter
flush()
call
to the underlying Hibernate Session. Used in combination with JTA.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 other) |
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 SpringFlushSynchronization(Session session)
public void flush()
TransactionSynchronization
flush
in interface java.io.Flushable
flush
in interface TransactionSynchronization
flush
in class TransactionSynchronizationAdapter
TransactionStatus.flush()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object