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:
07: @Target({PACKAGE,TYPE,METHOD,FIELD})
08: @Retention(RUNTIME)
09: public @interface TableGenerator {
10: String name();
11:
12: String tableName() default "";
13:
14: String pkColumnValue() default "";
15:
16: int allocationSize() default 50;
17: }
|