Uses of Interface
jakarta.persistence.RefreshOption
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
-
Uses of RefreshOption in jakarta.persistence
Modifier and TypeClassDescriptionenum
Specifies how theEntityManager
interacts with the second-level cache when data is read from the database and when data is written to the database.enum
Enumerates the kinds of optimistic or pessimistic lock which may be obtained on an entity instance.enum
Defines the values of thejakarta.persistence.lock.scope
property for pessimistic locking.class
Specifies a timeout for a database request.Modifier and TypeMethodDescriptionvoid
EntityManager.refresh
(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.