aspose file tools
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

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
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!
It is sorta covered in the JavaRanch Style Guide.
subject: URLyBird: Updates and duplicate records