GNDMS 0.6.0
RESTful verison of GNDMS
|
This class provides tools for the databasse configuration. More...
Static Public Member Functions | |
static void | setDerbyToDebugMode () |
Changes derby's configuration, so that its logfile will not be deleted and recreated after a reboot. |
This class provides tools for the databasse configuration.
User: stepn Date: 20.08.2008 Time: 16:27:32
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"); }