This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLyBird: Updates and duplicate records

 
Dennis Li
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic