org.hibernate.ogm.dialect.infinispan
Class InfinispanDialect
java.lang.Object
org.hibernate.ogm.dialect.infinispan.InfinispanDialect
- All Implemented Interfaces:
- Serializable, GridDialect, org.hibernate.service.Service
public class InfinispanDialect
- extends Object
- implements GridDialect
- Author:
- Emmanuel Bernard
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InfinispanDialect
public InfinispanDialect(InfinispanDatastoreProvider provider)
getLockingStrategy
public org.hibernate.dialect.lock.LockingStrategy getLockingStrategy(org.hibernate.persister.entity.Lockable lockable,
org.hibernate.LockMode lockMode)
- Get a strategy instance which knows how to acquire a database-level lock
of the specified mode for this dialect.
- Specified by:
getLockingStrategy in interface GridDialect
- Parameters:
lockable - The persister for the entity to be locked.lockMode - The type of lock to be acquired.
- Returns:
- The appropriate locking strategy.
- Since:
- 3.2
getTuple
public Tuple getTuple(EntityKey key,
TupleContext tupleContext)
- Specified by:
getTuple in interface GridDialect
createTuple
public Tuple createTuple(EntityKey key)
- Specified by:
createTuple in interface GridDialect
updateTuple
public void updateTuple(Tuple tuple,
EntityKey key)
- Specified by:
updateTuple in interface GridDialect
removeTuple
public void removeTuple(EntityKey key)
- Specified by:
removeTuple in interface GridDialect
getAssociation
public Association getAssociation(AssociationKey key,
AssociationContext associationContext)
- Specified by:
getAssociation in interface GridDialect
createAssociation
public Association createAssociation(AssociationKey key)
- Specified by:
createAssociation in interface GridDialect
updateAssociation
public void updateAssociation(Association association,
AssociationKey key)
- Specified by:
updateAssociation in interface GridDialect
removeAssociation
public void removeAssociation(AssociationKey key)
- Specified by:
removeAssociation in interface GridDialect
createTupleAssociation
public Tuple createTupleAssociation(AssociationKey associationKey,
RowKey rowKey)
- Specified by:
createTupleAssociation in interface GridDialect
nextValue
public void nextValue(RowKey key,
org.hibernate.id.IntegralDataTypeHolder value,
int increment,
int initialValue)
- Specified by:
nextValue in interface GridDialect
overrideType
public GridType overrideType(org.hibernate.type.Type type)
- Specified by:
overrideType in interface GridDialect
Copyright © 2010-2012 Hibernate. All Rights Reserved.