PFB my code,
@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="empIdSequence")
@SequenceGenerator(name="empIdSequence",initialValue=10000,allocationSize=1)
private Integer empId;
I am using EclipseLink 2.5.x implementation and MySQL Database. When i create a record the empId starts from 1 instead of 10000. Is there any other configuration that i need to do ?