Answers for "PK error hibernate"

0

PK error hibernate

// in SQL query
ALTER SEQUENCE x_specification_sequence RESTART WITH <start $id>
Posted by: Guest on April-15-2022
0

PK error hibernate

@SequenceGenerator(
name="x_specification_sequence",
sequenceName="x_specification_sequenceName_InitialAt3068", //you need to create a newName if you need to change initial Value to reflect changes
initialValue=3068,  //change initialValue to the next ID (primary key) from the database
allocationSize=1
)
Posted by: Guest on April-15-2022

Browse Popular Code Answers by Language