Ejemplo n.º 1
0
 /*
  * This method only works with HSQLDB database. If one doesn't close the
  * HSQLDB properly with high probability, the DB goes into instable or in
  * worst case becomes corrupted.
  */
 @Override
 public void shutdown() throws SQLException {
   getConnection().createStatement().execute("SHUTDOWN");
   //        logger.warn("Closing the database server (for HSqlDB) [done].");
   //        logger.warn("Closing the connection pool [done].");
   super.shutdown();
 }