Closed MattiaRiola closed 1 year ago
Login service registration does not work because the id key is duplicated.
This happens because we save default user with a sql script and the generation of ids of new users starts from id=0.
Nice solution:
https://www.baeldung.com/hibernate-identifiers#3-sequence-generation
Login service registration does not work because the id key is duplicated.
This happens because we save default user with a sql script and the generation of ids of new users starts from id=0.
Nice solution:
https://www.baeldung.com/hibernate-identifiers#3-sequence-generation