Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
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) |
Modifier and Type | Method and Description |
---|---|
Session.LockRequest |
SessionImpl.buildLockRequest(LockOptions lockOptions) |
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.