Package org.hibernate.annotations
Annotation Type NotFound
-
@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface NotFound
Action to do when an element is not found on a association.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description NotFoundAction
action
The action to perform when an associated entity is not found.
-
-
-
Element Detail
-
action
NotFoundAction action
The action to perform when an associated entity is not found. By default an exception is thrown.- Default:
- org.hibernate.annotations.NotFoundAction.EXCEPTION
-
-