Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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

 
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
Posts: 17346
11
Mac IntelliJ IDE 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
 
There will be plenty of time to discuss your objections when and if you return. The cargo is this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic