wood burning stoves
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes delete method of B&S Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "delete method of B&S" Watch "delete method of B&S" New topic

delete method of B&S

mohini lalwani

Joined: Nov 24, 2008
Posts: 25
Each record has delete flag in begining so when
to implement delete method then which field should be updated ? or complete record will be deleted ? or just update delete flag with 1 .

In my assignment written .
1 byte "deleted" flag. 0 implies valid record, 1 implies deleted record
satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334

The record should not be deleted from db. you should set the flag in the beginning of the record. If you delete the record physically, you will be failed

mohini lalwani

Joined: Nov 24, 2008
Posts: 25
thanks satish
I agree. Here's the link: http://aspose.com/file-tools
subject: delete method of B&S
It's not a secret anymore!