File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "delete method of B&S" Watch "delete method of B&S" New topic
Author

delete method of B&S

mohini lalwani
Greenhorn

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
Hi,

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

sat
mohini lalwani
Greenhorn

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
 
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