public abstract class AbstractHibernateSpaceSynchronizationEndpoint extends ManagedEntriesSpaceSynchronizationEndpoint
SpaceSynchronizationEndpoint
implementations.Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
AbstractHibernateSpaceSynchronizationEndpoint(org.hibernate.SessionFactory sessionFactory,
Set<String> managedEntries) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
filterItemValue(String entityName,
Map<String,Object> itemValues)
Filter from the input map the unmapped field of this entity
|
Iterable<String> |
getManagedEntries() |
protected String |
getPartialUpdateHQL(DataSyncOperation dataSyncOperation,
Map<String,Object> updatedValues) |
org.hibernate.SessionFactory |
getSessionFactory() |
protected boolean |
isManaged(DataSyncOperation dataSyncOperation) |
protected void |
rollbackTx(org.hibernate.Transaction tr) |
afterOperationsBatchSynchronization, afterTransactionSynchronization, onAddIndex, onIntroduceType, onOperationsBatchSynchronization, onTransactionConsolidationFailure, onTransactionSynchronization
protected boolean isManaged(DataSyncOperation dataSyncOperation)
protected Map<String,Object> filterItemValue(String entityName, Map<String,Object> itemValues)
itemValues
- map of properties to filterprotected String getPartialUpdateHQL(DataSyncOperation dataSyncOperation, Map<String,Object> updatedValues)
protected void rollbackTx(org.hibernate.Transaction tr)
public org.hibernate.SessionFactory getSessionFactory()
public Iterable<String> getManagedEntries()
getManagedEntries
in class ManagedEntriesSpaceSynchronizationEndpoint
Copyright © GigaSpaces.