org.hibernate.annotations.NotFoundAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-annotations
Show all versions of hibernate-annotations
Annotations metadata for Hibernate
package org.hibernate.annotations;
/**
* Actoin to use when an element is not found in DB while beeing expected
*
* @author Emmanuel Bernard
*/
public enum NotFoundAction {
/**
* raise an exception when an element is not found (default and recommended)
*/
EXCEPTION,
/**
* ignore the element when not found in DB
*/
IGNORE
}