Uses of Enum Class
org.hibernate.Locking.Scope
Packages that use Locking.Scope
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory
, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session
and StatelessSession
,
the most important APIs exposing persistence-related operations for
entities.This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate.
This package abstracts persistence mechanisms for entities.
Everything related to HQL/JPQL, native SQL, and criteria queries.
Contains a range of internal abstractions for dealing with query execution,
query plans, query options, and query parameters.
SPI-level SQM contracts
-
Uses of Locking.Scope in org.hibernate
Methods in org.hibernate that return Locking.ScopeModifier and TypeMethodDescriptionstatic Locking.Scope
Locking.Scope.fromJpaScope
(PessimisticLockScope scope) LockOptions.getScope()
Deprecated, for removal: This API element is subject to removal in a future version.Associated lock scopestatic Locking.Scope
static Locking.Scope
Returns the enum constant of this class with the specified name.static Locking.Scope[]
Locking.Scope.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.hibernate with parameters of type Locking.ScopeModifier and TypeMethodDescriptionLockOptions.setScope
(Locking.Scope scope) Deprecated, for removal: This API element is subject to removal in a future version.Set the associated lock scopeConstructors in org.hibernate with parameters of type Locking.ScopeModifierConstructorDescriptionLockOptions
(LockMode lockMode, int timeout, Locking.Scope scope, Locking.FollowOn followOnStrategy) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Locking.Scope in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type Locking.ScopeModifier and TypeMethodDescriptionprotected LockingStrategy
Dialect.buildPessimisticForceIncrementStrategy
(EntityPersister lockable, LockMode lockMode, Locking.Scope lockScope) protected LockingStrategy
Dialect.buildPessimisticReadStrategy
(EntityPersister lockable, LockMode lockMode, Locking.Scope lockScope) protected LockingStrategy
Dialect.buildPessimisticWriteStrategy
(EntityPersister lockable, LockMode lockMode, Locking.Scope lockScope) protected LockingStrategy
Dialect.buildReadStrategy
(EntityPersister lockable, LockMode lockMode, Locking.Scope lockScope) Dialect.getLockingStrategy
(EntityPersister lockable, LockMode lockMode, Locking.Scope lockScope) ALockingStrategy
which is able to acquire a database-level lock with the specified level. -
Uses of Locking.Scope in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type Locking.ScopeModifier and TypeMethodDescriptionprotected LockingStrategy
AbstractEntityPersister.generateLocker
(LockMode lockMode, Locking.Scope lockScope) -
Uses of Locking.Scope in org.hibernate.query
Methods in org.hibernate.query with parameters of type Locking.ScopeModifier and TypeMethodDescriptionSelectionQuery.setLockScope
(Locking.Scope lockScope) Apply a scope to any pessimistic locking applied to the query. -
Uses of Locking.Scope in org.hibernate.query.spi
Methods in org.hibernate.query.spi with parameters of type Locking.ScopeModifier and TypeMethodDescriptionAbstractQuery.setLockScope
(Locking.Scope lockScope) AbstractSelectionQuery.setLockScope
(Locking.Scope lockScope) -
Uses of Locking.Scope in org.hibernate.query.sqm.spi
Methods in org.hibernate.query.sqm.spi with parameters of type Locking.ScopeModifier and TypeMethodDescriptionDelegatingSqmSelectionQueryImplementor.setLockScope
(Locking.Scope lockScope)