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(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 SpringFlushSynchronization(Session session)
public void flush()
TransactionSynchronization
flush
in interface Flushable
flush
in interface TransactionSynchronization
flush
in class TransactionSynchronizationAdapter
TransactionStatus.flush()