GNDMS 0.6.0
RESTful verison of GNDMS
Static Public Member Functions

de.zib.gndms.logic.util.LogicTools Class Reference

This class provides tools for the databasse configuration. More...

List of all members.

Static Public Member Functions

static void setDerbyToDebugMode ()
 Changes derby's configuration, so that its logfile will not be deleted and recreated after a reboot.

Detailed Description

This class provides tools for the databasse configuration.

Author:
try ste fan pla nti kow zib
Version:
$Id$

User: stepn Date: 20.08.2008 Time: 16:27:32


Member Function Documentation

static void de.zib.gndms.logic.util.LogicTools.setDerbyToDebugMode ( ) [static]

Changes derby's configuration, so that its logfile will not be deleted and recreated after a reboot.

Furthermore the text and parameter values of all executed statements will be logged. The log severity is set to 20000, so that errors which cause a statement to be rolled back are logged.

                                             {
        System.setProperty("derby.infolog.append", "true");
        System.setProperty("derby.language.logStatementText", "true");
        System.setProperty("derby.stream.error.logSeverityLevel", "20000");
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables