
org.hibernate.envers.RelationTargetNotFoundAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-envers Show documentation
Show all versions of hibernate-envers Show documentation
Hibernate's entity version (audit/history) support
The newest version!
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate.envers;
/**
* Defines the actions on how to handle {@code EntityNotFoundException} cases when a relation
* between two entities (audited or not) cannot be found in the data store.
*
* @author Chris Cranford
* @see org.hibernate.annotations.NotFoundAction
*/
public enum RelationTargetNotFoundAction {
/**
* Specifies that exception handling should be based on the global system property:
* {@link org.hibernate.envers.configuration.EnversSettings#GLOBAL_RELATION_NOT_FOUND_LEGACY_FLAG}.
*/
DEFAULT,
/**
* Specifies that exceptions should be thrown regardless of the global system property:
* {@link org.hibernate.envers.configuration.EnversSettings#GLOBAL_RELATION_NOT_FOUND_LEGACY_FLAG}.
*/
ERROR,
/**
* Specifies that exceptions should be ignored regardless of the global system property:
* {@link org.hibernate.envers.configuration.EnversSettings#GLOBAL_RELATION_NOT_FOUND_LEGACY_FLAG}.
*/
IGNORE
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy