It's not a secret anymore!*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes About Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "About "create" method" Watch "About "create" method" New topic
Author

About "create" method

Feng Guo
Greenhorn

Joined: Apr 28, 2004
Posts: 7
Greeting all:
Thank you for all help. I just get some troubles that I misunderstand something.
My document about booking a hotel� room, that a field was named �Customer holding this record�. The comment said that: The id value of the customer who has booked this. If this field is all blanks, the record is available for sale.
If I want to coding create method that either I creating a new record to the database or update the �Customer holding this record� field, it�s mean some customer booking this room.
Well, how can I choice it, dear friends, please help me.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: About "create" method