Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic