| Author |
NX:Question about validation flag
|
HaoZhe Xu
Ranch Hand
Joined: Nov 03, 2003
Posts: 222
|
|
|
the first 2 bytes of a record is a flag determine the record's existance, should my update method contain it? If yes, when should I use that 2 bytes?
|
[url]Olnex.net[/url]
[SCJP 1.2, SCJD, SCWCD]
|
 |
George Marinkovich
Ranch Hand
Joined: Apr 15, 2003
Posts: 619
|
|
I took the position that it was not reasonable to update a deleted record and under those circumstances would throw a RecordNotFoundException. -- George [ December 18, 2003: Message edited by: George Marinkovich ]
|
Regards, George
SCJP, SCJD, SCWCD, SCBCD
|
 |
Bill Robertson
Ranch Hand
Joined: Mar 21, 2003
Posts: 234
|
|
I took the position that it was not reasonable to update a deleted record and under those circumstances would throw a RecordNotFoundException.
Exactly! Why would you expose to the user a deleted record for updates?
|
 |
 |
|
|
subject: NX:Question about validation flag
|
|
|