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 class
CacheRetrieveMode
Specifies how theEntityManager
interacts 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.class
CacheStoreMode
Specifies how theEntityManager
interacts with the second-level cache when data is read from the database and when data is written to the database.class
LockModeType
Enumerates the kinds of optimistic or pessimistic lock which may be obtained on an entity instance.class
PessimisticLockScope
Defines the values of thejakarta.persistence.lock.scope
property for pessimistic locking.class
Timeout
Specifies a timeout for a database request.Methods in jakarta.persistence with parameters of type FindOption Modifier and Type Method Description <T> T
EntityManager. find(EntityGraph<T> entityGraph, java.lang.Object primaryKey, FindOption... options)
Find an instance of the root entity of the givenEntityGraph
by primary key, using the specified options, and interpreting theEntityGraph
as a load graph.<T> T
EntityManager. 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.
-