| Package | Description |
|---|---|
| org.hibernate |
This package defines the central Hibernate APIs.
|
| org.hibernate.engine.spi |
| Modifier and Type | Method and Description |
|---|---|
Session.LockRequest |
Session.buildLockRequest(LockOptions lockOptions)
Build a LockRequest that specifies the LockMode, pessimistic lock timeout and lock scope.
|
Session.LockRequest |
Session.LockRequest.setLockMode(LockMode lockMode)
Specify the LockMode to be used.
|
Session.LockRequest |
Session.LockRequest.setScope(boolean scope)
Specify if LockMode should be cascaded to owned collections and relationships.
|
Session.LockRequest |
Session.LockRequest.setTimeOut(int timeout)
Specify the pessimistic lock timeout (check if your dialect supports this option).
|
| Modifier and Type | Method and Description |
|---|---|
Session.LockRequest |
SessionDelegatorBaseImpl.buildLockRequest(LockOptions lockOptions) |
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.