I have the following definition in the Employee class
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "employee_id")
private Integer employeeId;
Now I want to import existing employees with existing employee identifiers. Even if I set the employee identifier before saving, the assigned identifier is ignored and the ID automatically increases. How do we redefine this?
source
share