Uses of Interface
jakarta.persistence.EntityHandler
Packages that use EntityHandler
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
-
Uses of EntityHandler in jakarta.persistence
Subinterfaces of EntityHandler in jakarta.persistenceModifier and TypeInterfaceDescriptioninterfaceProvides entity operations that are performed independently of a persistence context.interfaceInterface used to interact with the persistence context.Methods in jakarta.persistence with type parameters of type EntityHandlerModifier and TypeMethodDescription<R, H extends EntityHandler>
REntityManagerFactory.callInTransaction(Class<H> handlerClass, Function<H, R> work) Create a new application-managedEntityHandlerof the given type, with an active transaction, and call the given function, passing theEntityHandlerto the function.<H extends EntityHandler>
voidEntityManagerFactory.runInTransaction(Class<H> handlerClass, Consumer<H> work) Create a new application-managedEntityHandlerof the given type, with an active transaction, and execute the given function, passing theEntityHandlerto the function.