public class SavedEntitiesHolder
extends org.springframework.transaction.support.ResourceHolderSupport
RdbmsStore
during a transaction.
It ensures that commit()
returns last saved entities regardless of how many saves where performed in
listeners.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RESOURCE_KEY |
Constructor and Description |
---|
SavedEntitiesHolder() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Entity> |
getEntities(java.util.Set<Entity> saved) |
static SavedEntitiesHolder |
setEntities(java.util.Set<Entity> saved) |
java.lang.String |
toString() |
clear, getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, resetRollbackOnly, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound
public static final java.lang.String RESOURCE_KEY
public static SavedEntitiesHolder setEntities(java.util.Set<Entity> saved)
public java.lang.String toString()
toString
in class java.lang.Object