Uses of Interface
jakarta.persistence.EntityListenerRegistration
Packages that use EntityListenerRegistration
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
-
Uses of EntityListenerRegistration in jakarta.persistence
Methods in jakarta.persistence that return EntityListenerRegistrationModifier and TypeMethodDescriptionEntityManagerFactory.addListener(Class<E> entityType, Class<? extends Annotation> callbackType, Consumer<? super E> listener) Register a listener for the given kind of entity lifecycle event and given entity type, returning anEntityListenerRegistrationwhich may be used to cancel the registration.