This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes questions on Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "questions on "db.db"" Watch "questions on "db.db"" New topic

questions on "db.db"

Andrea Gazzarini
Ranch Hand

Joined: Sep 09, 2002
Posts: 125
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...

Regards,<br />Andrea<br /> <br /><a href="" target="_blank" rel="nofollow">Andrea Gazzarini</a><br />Skype ID : gazzax72<br />Google Talk ID :<br /><a href="" target="_blank" rel="nofollow">My Blog</a>
Marcel de Jong
Ranch Hand

Joined: May 27, 2002
Posts: 54
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.
Valentin Crettaz
Gold Digger

Joined: Aug 26, 2001
Posts: 7610
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.

[Blog] [Blogroll] [My Reviews] My Linked In
I agree. Here's the link:
subject: questions on "db.db"
Similar Threads
command line arguments
Database Designs
Question on db.db
after modifying a record, it can not be seen, Why ?
What do they mean???