Filtering duplicate records in the persistence layer
posted 7 years ago
I have a requirement where I need to filter the duplicate records at the persistence layer.
I have a Person table in my database with columns First Name, Last Name, Address, etc...
In my persistence layer I need to put in a logic that handles duplicate records, specifically, I need to filter the duplicate names (which are combination of first name and last name).
Does anyone know if JPA / Hibernate provides any feature to do this?