File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

questions on "db.db"

 
Andrea Gazzarini
Ranch Hand
Posts: 125
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the instructions.html I read "The directory suncertify/db contains db.db, the database file. YOU CAN NOT MODIFY THIS...(???)
What does it mean? How I can manage the data persistence if I can't modify this file??
One possible response is (initially)to store all the information found in db.db in a kind of collection (es. HashTable), but this mean that when the server is restarted, any change will lost...
Thanks
 
Marcel de Jong
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gazzax,
you are not allowed to modify the structure of the database file, but of course you are allowed to change the data in the file.
Regards,
Marcel
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gazzax,
Welcome to Javaranch
We'd like you to read the Javaranch Naming Policy and change your publicly displayed name (change it here) to comply with our unique rule. Thank you.
PS: Quote from the naming policy:

For your publicly displayed name, use a first name, a space, and a last name. Obviously fictitious names or improperly formatted names may be locked out.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic