Uses of Enum Class
jakarta.persistence.LockModeType
Packages that use LockModeType
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
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 defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate.Internal utility classes
Defines the internal implementation of the stored procedure SPI.
Everything related to HQL/JPQL, native SQL, and criteria queries.
SPIs for HQL support.
Contains a range of internal abstractions for dealing with query execution,
query plans, query options, and query parameters.
Implementation of the SPIs for native SQL query support.
SPIs for native SQL query support.
Package for the SQM-backed Query implementation details
SPI-level SQM contracts
-
Uses of LockModeType in jakarta.persistence
Methods in jakarta.persistence that return LockModeTypeModifier and TypeMethodDescriptionEntityManager.getLockMode(Object entity) Get the current lock mode for the entity instance.Query.getLockMode()Get the current lock mode for the query.static LockModeTypeReturns the enum constant of this class with the specified name.static LockModeType[]LockModeType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in jakarta.persistence with parameters of type LockModeTypeModifier and TypeMethodDescription<T> TEntityManager.find(Class<T> entityClass, Object primaryKey, LockModeType lockMode) Find by primary key and lock.<T> TEntityManager.find(Class<T> entityClass, Object primaryKey, LockModeType lockMode, Map<String, Object> properties) Find by primary key and lock, using the specified properties.voidEntityManager.lock(Object entity, LockModeType lockMode) Lock an entity instance that is contained in the persistence context with the specified lock mode type.voidLock an entity instance that is contained in the persistence context with the specified lock mode type and with specified properties.voidEntityManager.refresh(Object entity, LockModeType lockMode) Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type.voidRefresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type and with specified properties.Query.setLockMode(LockModeType lockMode) Set the lock mode type to be used for the query execution.TypedQuery.setLockMode(LockModeType lockMode) Set the lock mode type to be used for the query execution. -
Uses of LockModeType in org.hibernate
Methods in org.hibernate that return LockModeTypeModifier and TypeMethodDescriptionLockMode.toJpaLockMode()static LockModeTypeLockMode.toJpaLockMode(LockMode lockMode) Methods in org.hibernate with parameters of type LockModeTypeModifier and TypeMethodDescriptionstatic LockModeLockMode.fromJpaLockMode(LockModeType lockMode) -
Uses of LockModeType in org.hibernate.boot.jaxb.mapping
Fields in org.hibernate.boot.jaxb.mapping declared as LockModeTypeMethods in org.hibernate.boot.jaxb.mapping that return LockModeTypeModifier and TypeMethodDescriptionJaxbNamedQuery.getLockMode()Gets the value of the lockMode property.NamedQuery.getLockMode()Methods in org.hibernate.boot.jaxb.mapping with parameters of type LockModeTypeModifier and TypeMethodDescriptionAdapter12.marshal(LockModeType value) voidJaxbNamedQuery.setLockMode(LockModeType value) Sets the value of the lockMode property.voidNamedQuery.setLockMode(LockModeType value) -
Uses of LockModeType in org.hibernate.boot.jaxb.mapping.marshall
Methods in org.hibernate.boot.jaxb.mapping.marshall that return LockModeTypeMethods in org.hibernate.boot.jaxb.mapping.marshall with parameters of type LockModeTypeModifier and TypeMethodDescriptionstatic StringLockModeTypeMarshalling.toXml(LockModeType lockModeType) -
Uses of LockModeType in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return LockModeTypeModifier and TypeMethodDescriptionSessionDelegatorBaseImpl.getLockMode(Object entity) SessionLazyDelegator.getLockMode(Object entity) Methods in org.hibernate.engine.spi with parameters of type LockModeTypeModifier and TypeMethodDescription<T> @Nullable TSessionDelegatorBaseImpl.find(Class<T> entityClass, Object primaryKey, LockModeType lockMode) <T> @Nullable TSessionDelegatorBaseImpl.find(Class<T> entityClass, Object primaryKey, LockModeType lockMode, Map<String, Object> properties) <T> @Nullable TSessionLazyDelegator.find(Class<T> entityClass, Object primaryKey, LockModeType lockMode) <T> @Nullable TSessionLazyDelegator.find(Class<T> entityClass, Object primaryKey, LockModeType lockMode, Map<String, Object> properties) voidSessionDelegatorBaseImpl.lock(Object entity, LockModeType lockMode) voidvoidSessionLazyDelegator.lock(Object entity, LockModeType lockMode) voidvoidSessionDelegatorBaseImpl.refresh(Object entity, LockModeType lockMode) voidSessionDelegatorBaseImpl.refresh(Object entity, LockModeType lockMode, Map<String, Object> properties) voidSessionLazyDelegator.refresh(Object entity, LockModeType lockMode) void -
Uses of LockModeType in org.hibernate.internal
Methods in org.hibernate.internal that return LockModeTypeMethods in org.hibernate.internal with parameters of type LockModeTypeModifier and TypeMethodDescription<T> TSessionImpl.find(Class<T> entityClass, Object primaryKey, LockModeType lockModeType) <T> TSessionImpl.find(Class<T> entityClass, Object primaryKey, LockModeType lockModeType, Map<String, Object> properties) voidSessionImpl.lock(Object entity, LockModeType lockModeType) voidvoidSessionImpl.refresh(Object entity, LockModeType lockModeType) void -
Uses of LockModeType in org.hibernate.internal.util
Methods in org.hibernate.internal.util that return LockModeTypeModifier and TypeMethodDescriptionstatic LockModeTypeLockModeConverter.convertToLockModeType(LockMode lockMode) Convert from the Hibernate-specificLockModeto the JPA definedLockModeType.Methods in org.hibernate.internal.util with parameters of type LockModeTypeModifier and TypeMethodDescriptionstatic LockModeLockModeConverter.convertToLockMode(LockModeType lockMode) Convert from JPA definedLockModeTypeto Hibernate-specificLockMode. -
Uses of LockModeType in org.hibernate.jpa.internal.util
Methods in org.hibernate.jpa.internal.util that return LockModeTypeModifier and TypeMethodDescriptionstatic LockModeTypeLockModeTypeHelper.getLockModeType(LockMode lockMode) Methods in org.hibernate.jpa.internal.util with parameters of type LockModeTypeModifier and TypeMethodDescriptionstatic LockModeLockModeTypeHelper.getLockMode(LockModeType lockModeType) -
Uses of LockModeType in org.hibernate.procedure.internal
Methods in org.hibernate.procedure.internal that return LockModeTypeMethods in org.hibernate.procedure.internal with parameters of type LockModeType -
Uses of LockModeType in org.hibernate.query
Methods in org.hibernate.query that return LockModeTypeModifier and TypeMethodDescriptionNativeQuery.getLockMode()Not applicable to native SQL queries, due to an unfortunate requirement of the JPA specification.SelectionQuery.getLockMode()Get the rootLockModeTypefor the queryMethods in org.hibernate.query with parameters of type LockModeTypeModifier and TypeMethodDescriptionNativeQuery.setLockMode(LockModeType lockMode) Not applicable to native SQL queries, due to an unfortunate requirement of the JPA specification.Query.setLockMode(LockModeType lockMode) SelectionQuery.setLockMode(LockModeType lockMode) Specify the rootLockModeTypefor the query -
Uses of LockModeType in org.hibernate.query.hql.spi
Methods in org.hibernate.query.hql.spi with parameters of type LockModeType -
Uses of LockModeType in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return LockModeTypeModifier and TypeMethodDescriptionAbstractQuery.getLockMode()AbstractSelectionQuery.getLockMode()Methods in org.hibernate.query.spi with parameters of type LockModeTypeModifier and TypeMethodDescriptionprotected voidAbstractCommonQueryContract.applyLockModeType(LockModeType value) AbstractQuery.setLockMode(LockModeType lockModeType) AbstractSelectionQuery.setLockMode(LockModeType lockMode) Specify the root LockModeType for the query -
Uses of LockModeType in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal that return LockModeTypeMethods in org.hibernate.query.sql.internal with parameters of type LockModeType -
Uses of LockModeType in org.hibernate.query.sql.spi
Methods in org.hibernate.query.sql.spi with parameters of type LockModeType -
Uses of LockModeType in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal that return LockModeTypeMethods in org.hibernate.query.sqm.internal with parameters of type LockModeTypeModifier and TypeMethodDescriptionprotected voidQuerySqmImpl.applyLockModeType(LockModeType value) QuerySqmImpl.setLockMode(LockModeType lockMode) SqmSelectionQueryImpl.setLockMode(LockModeType lockMode) Specify the root LockModeType for the query -
Uses of LockModeType in org.hibernate.query.sqm.spi
Methods in org.hibernate.query.sqm.spi that return LockModeTypeMethods in org.hibernate.query.sqm.spi with parameters of type LockModeTypeModifier and TypeMethodDescriptionDelegatingSqmSelectionQueryImplementor.setLockMode(LockModeType lockMode) -
Uses of LockModeType in org.hibernate.search.mapper.orm.search.query.impl
Methods in org.hibernate.search.mapper.orm.search.query.impl that return LockModeTypeMethods in org.hibernate.search.mapper.orm.search.query.impl with parameters of type LockModeTypeModifier and TypeMethodDescriptionHibernateOrmSearchQueryAdapter.setLockMode(LockModeType lockModeType)