permaculture playing cards*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes [URLyBird]How to remove customerid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "[URLyBird]How to remove customerid" Watch "[URLyBird]How to remove customerid" New topic
Author

[URLyBird]How to remove customerid

Zhixiong Pan
Ranch Hand

Joined: Jan 25, 2006
Posts: 239
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.


SCJP 1.4 SCJD
 
GeeCON Prague 2014
 
subject: [URLyBird]How to remove customerid