4b)After shutting down Phoenix the db.properties
indicates modified=yes.  This means that changes to
database have not been saved/commited to the data
file.  I would like to do SHUTDOWN COMPACT on hsqldb
when Phoenix shuts down.  I can't see any mechanism in
 DefaultHypersonicSQL.java nor in
HypersonicSQLHandler.java for implementing this.
How can I do this?

Is it possible to shutdown the server from the HsqlSocketRequestHandler interface?

If so, by modifying DefaultHypersonicSQL to implement the Disposable interface and calling the shutdown methods inside of dispose() would be the preferred way to implement.
-pete

That might be the start of a soution for that. Maybe the stop() method of our hsql wrapper block could open the jdbc connection and issue the shutdown compact command before stopping.
Care to submit a patch Jim?

- Paul




--
To unsubscribe, e-mail: <mailto:avalon-users-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-users-help@;jakarta.apache.org>



Reply via email to