@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD,ANNOTATION_TYPE})
@Documented
public @interface GeneratedValue
javax.persistence.GeneratedValue
.Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
definition
In the case of sequence generators if you wish to define statement that creates the sequence,
you can do so here.
|
java.lang.String |
ref
In the case of sequence generators if you wish to alter the name of the sequence generator do so with this member.
|
GeneratedValue.Type |
value
The generation type.
|
public abstract GeneratedValue.Type value