db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Pissarenko" <dmitri.pissare...@gmail.com>
Subject Re: Shutting down built-in Derby
Date Wed, 13 Jun 2007 14:10:30 GMT
Hello!

I tried to do this:

   public static void shutDownDerbyAfterCrash()
   {
      try
      {
         Driver driver = null;

         driver = (Driver)Class.forName(DRIVER).newInstance();
         DriverManager.registerDriver(driver);
         DriverManager.getConnection("jdbc:derby:;shutdown=true");
      }
      catch (Exception exception)
      {
         logger.error("", exception);
      }
   }

but I'm still getting the same error.

Best regards

Dmitri Pissarenko
-- 
http://www.xing.com/profile/Dmitri_Pissarenko
http://dapissarenko.blogspot.com/

Mime
View raw message