Uses of Interface
jakarta.persistence.FindOption
-
Packages that use FindOption Package Description jakarta.persistence Jakarta Persistence is the API for the management for persistence and object/relational mapping. -
-
Uses of FindOption in jakarta.persistence
Classes in jakarta.persistence that implement FindOption Modifier and Type Class Description classCacheRetrieveModeSpecifies how theEntityManagerinteracts with the second-level cache when data is read from the database via theEntityManager.find(java.lang.Class<T>, java.lang.Object)methods and execution of queries.classCacheStoreModeSpecifies how theEntityManagerinteracts with the second-level cache when data is read from the database and when data is written to the database.classLockModeTypeEnumerates the kinds of optimistic or pessimistic lock which may be obtained on an entity instance.classPessimisticLockScopeDefines the values of thejakarta.persistence.lock.scopeproperty for pessimistic locking.classTimeoutSpecifies a timeout for a database request.Methods in jakarta.persistence with parameters of type FindOption Modifier and Type Method Description <T> TEntityManager. find(EntityGraph<T> entityGraph, java.lang.Object primaryKey, FindOption... options)Find an instance of the root entity of the givenEntityGraphby primary key, using the specified options, and interpreting theEntityGraphas a load graph.<T> TEntityManager. find(java.lang.Class<T> entityClass, java.lang.Object primaryKey, FindOption... options)Find an instance of the given entity class by primary key, using the specified options.
-