File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes URLyBird: Updates and duplicate records Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "URLyBird: Updates and duplicate records" Watch "URLyBird: Updates and duplicate records" New topic

URLyBird: Updates and duplicate records

Dennis Li

Joined: Jan 31, 2006
Posts: 1
Dear guys,

great forum you've got here! Spent many a nights looking for answers here

I am currently using the hotel name and location as my key. This assumption seems to go well in my current design such as I no longer need
to create psuedo data i.e. row number to identify a record. This is enforced by throwing a DuplicateRecordException when a new record with matching name and location is inserted.

Consequently my update methods now require a search first to obtain the required record before the customer ID is set. I would appreciate if you guys can comment on this approaching of avoiding creating a row number?

Thanks alot!
I agree. Here's the link:
subject: URLyBird: Updates and duplicate records
It's not a secret anymore!