1
package org.hibernate.annotations;
3
import static java.lang.annotation.ElementType.FIELD;
4
import static java.lang.annotation.ElementType.METHOD;
5
import java.lang.annotation.Retention;
6
import static java.lang.annotation.RetentionPolicy.RUNTIME;
7
import java.lang.annotation.Target;
10
* Action to do when an element is not found on a association whiel beeing expected
12
* @author Emmanuel Bernard
14
@Target({METHOD, FIELD})
16
public @interface NotFound {
17
NotFoundAction action() default NotFoundAction.EXCEPTION;