springboot-postgresql-hibernate-crud-example
springboot-postgresql-hibernate-crud-example copied to clipboard
An Employee should be prevented from having multiple id
Patch method can prevent from entering same employee data ,else same employee is having multiple Id, the post method can check in repository if employee already exist ,if yes it should not save same employee details in repository.