Uses of Interface
jakarta.persistence.RefreshOption
-
Packages that use RefreshOption Package Description jakarta.persistence Jakarta Persistence is the API for the management for persistence and object/relational mapping. -
-
Uses of RefreshOption in jakarta.persistence
Classes in jakarta.persistence that implement RefreshOption Modifier and Type Class Description 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 RefreshOption Modifier and Type Method Description void
EntityManager. refresh(java.lang.Object entity, RefreshOption... options)
Refresh the state of the given managed entity instance from the database, using the specified options, overwriting changes made to the entity, if any.
-