• Post Reply Bookmark Topic Watch Topic
  • New Topic

after modifying a record, it can not be seen, Why ?  RSS feed

 
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I modified a record for reservation, then I can not seen the record any more for new searches.
Please help ?
I used the modify method supplied in the data class.
Thanks
Ruilin
 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am faced with the similar situation.
I could successfully modify the record but the record is not seen after that at all.
Please resolve it.
Thanks in advance
Ravi
 
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you know you successfully modified it? I suggest you to put some debug statements to know for sure you are modifying the data. Calling modify() worked for me with the Sun supplied version.
Also there is a possibility that you are modifying one db.db file and using other db.db file for searching flights. This can happen if you don't take care of creating/finding Data instance for remote/local mode of operation properly.
[ June 18, 2002: Message edited by: Sai Prasad ]
 
ranger
Sheriff
Posts: 17314
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After you modify, can you see data ever again, even if you restart your app. I had had that, and what was happening was I was modifying the db.db file but incorrectly, it was actually corrupting the db.db file.
Make sure your DataInfo class you pass to modify is correct.
Mark
 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
This is because replacing the depericated method getBytes(x,y,z,..) with getBytes(). WE need to write a piece of code there to fix this problem.
-rameshkumar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!