1 package org.hibernate.annotations; 2 3 import java.lang.annotation.Retention ; 4 import java.lang.annotation.Target ; 5 6 import static java.lang.annotation.ElementType.METHOD ; 7 import static java.lang.annotation.ElementType.FIELD ; 8 import static java.lang.annotation.RetentionPolicy.RUNTIME ; 9 10 15 @Target ({METHOD, FIELD}) @Retention (RUNTIME) 16 public @interface IndexColumn { 17 18 String name(); 19 20 int base() default 0; 21 22 boolean nullable() default true; 23 24 String columnDefinition() default ""; 25 } 26 | Popular Tags |