Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.dialect.lock |
Support for Dialect-specific locking strategies
|
Modifier and Type | Class and Description |
---|---|
class |
OptimisticLockException
Deprecated.
Use
OptimisticEntityLockException instead |
Modifier and Type | Class and Description |
---|---|
class |
OptimisticEntityLockException
Represents an error trying to apply an optimistic
LockingStrategy to an entity |
class |
PessimisticEntityLockException
Represents an error trying to apply a pessimistic
LockingStrategy to an entity |
Modifier and Type | Method and Description |
---|---|
void |
LockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session)
Acquire an appropriate type of lock on the underlying data that will
endure until the end of the current transaction.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.