File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "URLyBird: Updates and duplicate records" Watch "URLyBird: Updates and duplicate records" New topic
Author

URLyBird: Updates and duplicate records

Dennis Li
Greenhorn

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!
Dennis
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URLyBird: Updates and duplicate records
 
Similar Threads
updating jtables in abstract tablemodel
question on create() methond
Data Locking with a DB File.
NX: Contactor: Query on Search method
How column can be hidden in JTable without removing from model ?