I'm curious if anyone here has decided to write their database contents to file when the database is being closed.
I tested writing my database's contents to a temp file using RandomAccessFile's writeXXXX methods,
The file is store on the disk as bytes. So, I guess you like to make sure this presentation before writting it to the file.
It must allow the user to book a selected record, updating the database file accordingly.