public class HSqlLocalDriver extends AbstractLocalDbDriver
Constructor and Description |
---|
HSqlLocalDriver() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name of the database driver.
|
String |
getUrl()
Get the JDBC-URL to the database.
|
void |
init()
Init the JDBC-driver before the first connection is established.
|
void |
setLocalLocation(File location)
Set the local directory, where the database files are stored.
|
void |
shutdown()
Shutdown the database driver, before the application is closed.
|
void |
shutdownCompact() |
void |
shutdownImmediately() |
getConnection, getConnection, getConnectionProperties, getUser, setUser
public static final String NAME
public final String getName()
AbstractDbDriver
getName
in class AbstractDbDriver
public final String getUrl()
AbstractDbDriver
getUrl
in class AbstractDbDriver
public final void init() throws ClassNotFoundException
AbstractDbDriver
init
in class AbstractDbDriver
ClassNotFoundException
- JDBC-driver is not foundpublic final void setLocalLocation(File location)
AbstractLocalDbDriver
setLocalLocation
in class AbstractLocalDbDriver
location
- database directorypublic final void shutdown()
AbstractDbDriver
shutdown
in class AbstractDbDriver
public final void shutdownCompact()
public final void shutdownImmediately()
Copyright © 2015 OpenEstate. All rights reserved.