• 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!
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!