BACKGROUND:
I have a law office management database that I developed years ago using OpenOffice.org Base, which at the time used with HSQL 1.8 as the database backend. I used the “embedded” stand-alone file for a while, but as I added staff and needed more than one user to be on at a time, I switched it to a server-client model . . . which has worked great. In fact, I am maintaining the database to distribute to other small law offices.
The only problem is that there is a bug in HSQLDB: if you add new tables in the “served” version of the database, they will not auto increment; new tables in the “standalone” embedded database files autoincrement just fine. This has never been a big deal; what I would do is rename the embedded file to “database.zip”, replace the database data files with their counterparts from the served database, rename the database back to “database.odb”, make the updates, and then reverse the process. Then–because the embedded template database now contains confidential client information–I would purge the embedded database tables, resetting them to have no records. Works like a charm.
THE PROBLEM:
I just did all of this except the last step . . . and now I can’t remember what command I use to purge the tables! I spent hours doing a google search for the command to no avail. It’s a really simple thing to do, but for the life of me, I just can’t figure it out.
Anyone know?