01: package javax.persistence;
02:
03: import java.lang.annotation.*;
04: import static java.lang.annotation.ElementType.*;
05: import static java.lang.annotation.RetentionPolicy.*;
06: import static javax.persistence.FetchType.*;
07:
08: @Target({METHOD,FIELD})
09: @Retention(RUNTIME)
10: public @interface Basic {
11: FetchType fetch() default EAGER;
12: }
|