Package org.keycloak.models.map.storage.jpa.hibernate.listeners
package org.keycloak.models.map.storage.jpa.hibernate.listeners
-
ClassDescriptionExtends Hibernate's
DefaultAutoFlushEventListener
to always flush queued inserts to allow correct handling of orphans of that entities in the same transactions, and also to clear a session-level query cache.Listen on changes on child- and root entities and updates the current entity version of the root.Listen on changes on child entities and forces an optimistic locking increment on the closest parent aka root.