This commit is contained in:
@@ -20,7 +20,6 @@ import java.lang.annotation.Retention;
|
||||
import static java.lang.annotation.ElementType.FIELD;
|
||||
import static java.lang.annotation.ElementType.METHOD;
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
import static javax.persistence.GenerationType.AUTO;
|
||||
|
||||
/**
|
||||
* Provides for the specification of generation strategies for the
|
||||
@@ -62,18 +61,4 @@ import static javax.persistence.GenerationType.AUTO;
|
||||
|
||||
public @interface GeneratedValue {
|
||||
|
||||
/**
|
||||
* (Optional) The primary key generation strategy
|
||||
* that the persistence provider must use to
|
||||
* generate the annotated entity primary key.
|
||||
*/
|
||||
GenerationType strategy() default AUTO;
|
||||
|
||||
/**
|
||||
* (Optional) The name of the primary key generator
|
||||
* to use as specified in the {@link SequenceGenerator}
|
||||
* or {@link TableGenerator} annotation.
|
||||
* <p> Defaults to the id generator supplied by persistence provider.
|
||||
*/
|
||||
String generator() default "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user