javax.persistence
Annotation Type GeneratedValue


@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface GeneratedValue

The @GeneratedValue annotation.


Optional Element Summary
 java.lang.String generator
           
 GenerationType strategy
           
 

strategy

public abstract GenerationType strategy
Default:
javax.persistence.GenerationType.AUTO

generator

public abstract java.lang.String generator
Default:
""