This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Database Record or User Record? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Database Record or User Record?" Watch "Database Record or User Record?" New topic
Author

Database Record or User Record?

Ray Dawson
Ranch Hand

Joined: Sep 16, 2011
Posts: 75
The instructions page said I need to implement the interface DBAccess:



So I wanted to ask that does the term "Record" refers to the booking made by the customer or the list of contractors given in the .db file ??
Sean Keane
Ranch Hand

Joined: Nov 03, 2010
Posts: 581

You mentioned that you have the stand-alone version working, displaying records in the JTable, so how do you currently have it implemented?


SCJP (1.4 | 5.0), OCJP (6.0), OCMJD
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2266
    
    3

Ray Dawson wrote:So I wanted to ask that does the term "Record" refers to the booking made by the customer or the list of contractors given in the .db file ??


Well, it refers to each entry in the .db file. Think that you are implementing an OO solution, so the term Room should fit better in this case.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5454
    
  13

You can find the answer in the name of the interface to implement.


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
Ray Dawson
Ranch Hand

Joined: Sep 16, 2011
Posts: 75
Sean Keane wrote:You mentioned that you have the stand-alone version working, displaying records in the JTable, so how do you currently have it implemented?


I'm working on the standalone version, haven't finished as yet !
Ray Dawson
Ranch Hand

Joined: Sep 16, 2011
Posts: 75
Roberto Perillo wrote:
Ray Dawson wrote:So I wanted to ask that does the term "Record" refers to the booking made by the customer or the list of contractors given in the .db file ??


Well, it refers to each entry in the .db file. Think that you are implementing an OO solution, so the term Room should fit better in this case.


Confused again!

Each entry means the list of contractors +- or the customers booking them goes +- ??
Sean Keane
Ranch Hand

Joined: Nov 03, 2010
Posts: 581

Ray Dawson wrote:Each entry means the list of contractors +- or the customers booking them goes +- ??


Confused also. Is this English?
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5454
    
  13

Come on dude, don't make it harder as it is!

A record is 1 line from the data section from the database file, containing the details of a room or contractor (depending on your assignment)
Ray Dawson
Ranch Hand

Joined: Sep 16, 2011
Posts: 75
By records I meant do we add or delete any contractors which was there in the .db file??
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5454
    
  13

Yes, you have to implement create and delete functionality to create new or delete existing contractor records.
Sean Keane
Ranch Hand

Joined: Nov 03, 2010
Posts: 581

Ray Dawson wrote:By records I meant do we add or delete any contractors which was there in the .db file??


Confused. How does this relate to your original question? Your original question was "So I wanted to ask that does the term "Record" refers to the booking made by the customer or the list of contractors given in the .db file ?? "
 
 
subject: Database Record or User Record?