Top Description Fields Constructors Methods
org.hibernate.annotations

public final Enum NotFoundAction

extends Enum<NotFoundAction>
Class Inheritance

Actoin to use when an element is not found in DB while beeing expected
Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
public static final NotFoundAction
EXCEPTION

raise an exception when an element is not found (default and recommended)

public static final NotFoundAction
IGNORE

ignore the element when not found in DB

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static NotFoundAction
public static NotFoundAction[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

EXCEPTIONback to summary
public static final NotFoundAction EXCEPTION

raise an exception when an element is not found (default and recommended)

IGNOREback to summary
public static final NotFoundAction IGNORE

ignore the element when not found in DB

Constructor Detail

NotFoundActionback to summary
private NotFoundAction()

Method Detail

valueOfback to summary
public static NotFoundAction valueOf(String name)
valuesback to summary
public static NotFoundAction[] values()