1 23 package javax.persistence; 24 25 import java.lang.annotation.Target ; 26 import java.lang.annotation.Retention ; 27 import static java.lang.annotation.ElementType.FIELD ; 28 import static java.lang.annotation.ElementType.METHOD ; 29 import static java.lang.annotation.RetentionPolicy.RUNTIME ; 30 31 56 @Target ({METHOD, FIELD}) 57 @Retention (RUNTIME) 58 59 public @interface JoinTable { 60 61 68 String name() default ""; 69 70 73 String catalog() default ""; 74 75 78 String schema() default ""; 79 80 89 JoinColumn[] joinColumns() default {}; 90 91 100 JoinColumn[] inverseJoinColumns() default {}; 101 102 108 UniqueConstraint[] uniqueConstraints() default {}; 109 } 110 | Popular Tags |