posted 20 years ago
Hi all,
I have a findBy method which takes in 3 parameters and returns a remote interface ( not a collection ). In DB there is exactly one record which matches the findBy methods 3 parameters. In this case i am able to retrieve record from DB. I also have a condition where if i get a FinderException, i create a new record or else i update the existing record. The problem now i am facing is when there are duplicate records in DB, i get a FinderException and so a new record is created in DB, now totally make it three records which match the findBy method condition. I hope my problem is clearly explained. Can anyone pls give me a solution. Thanks in advance.
Karthik