Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[URLyBird]How to remove customerid

Zhixiong Pan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I've done db Layer. While coding HotelBusiness in business Layer, I am not sure about such a thing. In my book, i call isBooked() between data.lock and data.update(). In my isBooked() i plan to check whether the customerid is null. Is it right? If it is, my problem is that in my completed code there is no such a step will remove a customerid after it once added. Please help me.
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!