In my project, I was having a database table with a unique constraint on a column. Using Spring Data JPA, in the same transaction, I was first deleting a record from that table and then adding back a record with the same value for that unique column....
codingmoments.hashnode.dev4 min readNo responses yet.