public final class DerbyUtils extends Object
Modifier and Type | Field and Description |
---|---|
static OutputStream |
DEV_NULL
Stream used for DEV_NULL logging.
|
static String |
DEV_NULL_FIELD_ID
A string ID that may be used to refer to
DEV_NULL from property values (used by Derby). |
Modifier and Type | Method and Description |
---|---|
static void |
closeQuietly(AutoCloseable resource)
Quietly close an AutoCloseable resource, like a SQL Connection, Statement, etc.
|
static void |
shutdownDerbySystemQuitely(boolean supressLog)
Shuts down the derby system so it can be reloaded; per Derby developer guide.
|
public static final OutputStream DEV_NULL
public static void shutdownDerbySystemQuitely(boolean supressLog)
supressLog
- If the log statement should be ignored.public static void closeQuietly(AutoCloseable resource)
resource
- The resource to closeCopyright © 2015-2016 Development Entropy (deventropy.org) Contributors