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: import static javax.persistence.CascadeType.*;
08:
09: @Target({METHOD,FIELD})
10: @Retention(RUNTIME)
11: public @interface ManyToMany {
12: String targetEntity() default "";
13:
14: CascadeType[] cascade() default {};
15:
16: FetchType fetch() default LAZY;
17:
18: boolean isInverse() default false;
19:
20: String mappedBy() default "";
21: }
|