Hi All,

We're using a hsqldb database for part of our application, and need to
package the database files up into a zip archive before exiting. Problem
is, OJB doesn't seem to be closing the database connection so the files
are still locked and we can't delete them once they are in the Zip file.

We use a single db reference throughout out application, initialised by
        db = OJB.getInstance().newDatabase(null);
When we go to shut it down, we call
        db.close();

Are we missing some obvious step, or do we need to start playing with
finalize()? I have tested that hsqldb releases the file locks when the
jdbc connection is closed via a call to connection.close().

Thanks for your help,
Rob :)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to