springboot-postgresql-hibernate-crud-example icon indicating copy to clipboard operation
springboot-postgresql-hibernate-crud-example copied to clipboard

An Employee should be prevented from having multiple id

Open Shivangip285 opened this issue 3 years ago • 0 comments

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.

Shivangip285 avatar Sep 03 '22 20:09 Shivangip285