This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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:
subject: delete method of B&S
Similar Threads
delete method of B&S
Delete function in B and S DBMain
Deleting/adding records.
NX:URLyBird About "deleted" flag
Junk Characters displayed after setting Delete flag - Bodgitt & Scarper 2.2.3