File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UpdateRecord and CreateRecord

 
Aruneesh Salhotra
Ranch Hand
Posts: 167
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For CreateRecord/UpdateRecord, the key is the combination of
flag/hotel/location/occ/smoking/rate/date/owner.

But there could be multiple listing from the same hotel. How do track the DuplicateKey in this case.

Help!.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11833
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Aruneesh,

Have you considered that you might not need to worry about it? Just because your method signature declares that you can throw a particular exception does not mean that you must throw it - you could leave it in the signature for future enhancements.

Regards, Andrew
 
Aruneesh Salhotra
Ranch Hand
Posts: 167
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My question is more to do with, what is the key supposed to be.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic