Class HSqlLocalDriver
- java.lang.Object
-
- com.openindex.openestate.tool.db.AbstractDbDriver
-
- com.openindex.openestate.tool.db.AbstractLocalDbDriver
-
- com.openindex.openestate.tool.db.hsql.HSqlLocalDriver
-
public class HSqlLocalDriver extends AbstractLocalDbDriver
HSqlLocalDriver.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description HSqlLocalDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class com.openindex.openestate.tool.db.AbstractDbDriver
getConnection, getConnection, getConnectionProperties, getUser, setUser
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public final String getName()
Description copied from class:AbstractDbDriver
Get the name of the database driver.- Specified by:
getName
in classAbstractDbDriver
- Returns:
- driver name
-
getUrl
public final String getUrl()
Description copied from class:AbstractDbDriver
Get the JDBC-URL to the database.- Specified by:
getUrl
in classAbstractDbDriver
- Returns:
- JDBC-URL
-
init
public final void init() throws ClassNotFoundException
Description copied from class:AbstractDbDriver
Init the JDBC-driver before the first connection is established.- Specified by:
init
in classAbstractDbDriver
- Throws:
ClassNotFoundException
- JDBC-driver is not found
-
setLocalLocation
public final void setLocalLocation(File location)
Description copied from class:AbstractLocalDbDriver
Set the local directory, where the database files are stored.- Specified by:
setLocalLocation
in classAbstractLocalDbDriver
- Parameters:
location
- database directory
-
shutdown
public final void shutdown()
Description copied from class:AbstractDbDriver
Shutdown the database driver, before the application is closed.- Overrides:
shutdown
in classAbstractDbDriver
-
shutdownCompact
public final void shutdownCompact()
-
shutdownImmediately
public final void shutdownImmediately()
-
-