| Package | Description |
|---|---|
| org.hibernate |
This package defines the central Hibernate APIs.
|
| org.hibernate.dialect.lock |
| 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,
SessionImplementor session)
Acquire an appropriate type of lock on the underlying data that will
endure until the end of the current transaction.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.