org.hibernate.ogm.dialect.infinispan
Class InfinispanPessimisticWriteLockingStrategy
java.lang.Object
org.hibernate.ogm.dialect.infinispan.InfinispanPessimisticWriteLockingStrategy
- All Implemented Interfaces:
- org.hibernate.dialect.lock.LockingStrategy
public class InfinispanPessimisticWriteLockingStrategy
- extends Object
- implements org.hibernate.dialect.lock.LockingStrategy
- Author:
- Emmanuel Bernard
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
identifierGridType
protected final GridType identifierGridType
InfinispanPessimisticWriteLockingStrategy
public InfinispanPessimisticWriteLockingStrategy(org.hibernate.persister.entity.Lockable lockable,
org.hibernate.LockMode lockMode)
lock
public void lock(Serializable id,
Object version,
Object object,
int timeout,
org.hibernate.engine.spi.SessionImplementor session)
throws org.hibernate.StaleObjectStateException,
org.hibernate.JDBCException
- Specified by:
lock in interface org.hibernate.dialect.lock.LockingStrategy
- Throws:
org.hibernate.StaleObjectStateException
org.hibernate.JDBCException
Copyright © 2010-2012 Hibernate. All Rights Reserved.