• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Filtering duplicate records in the persistence layer

 
Rohithaksha Kalluraya
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings!

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?


Thank You!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic