You should execute the SQL command "SHUTDOWN" to shutdown the
database. You are obviously not doing this and relying on autorecovery at the
next startup. Please read the documentation.
Fred
----- Original Message -----
Sent: 29 March 2005 19:43
Subject: [Hsqldb-developers] Closing of
Databases
Hi,
I am noticing that in the version, I am using of HSQL, the .log file is
never deleted upon shutdown, and it is appended to the script file only on the
next restart of the application.
I traced through the code and found out that this is happening because
there is no call to DatabaseManger.closeDatabases( closeMode) function, which
is supposed to close the database. I added this line into Session.close( )
function and it works fine now. The database log file is appended to the
script file upon shutdown. I wanted to know if this is a known bug? Maybe it
is already taken care of in the next version.
thanks.
Do you Yahoo!? Yahoo!
Mail - Helps protect you from nasty viruses.
|