Class H2ServerDriver
java.lang.Object
me.hsgamer.hscore.database.driver.h2.H2ServerDriver
- All Implemented Interfaces:
Driver
,H2BaseDriver
A driver for H2 (Server Mode)
-
Constructor Summary
ConstructorDescriptionCreate a new TCP server driverH2ServerDriver
(boolean isSSH) Create a new server driver -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyDefaultSetting
(Setting setting) Apply the default settinggetConnectionString
(Setting setting) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.hsgamer.hscore.database.Driver
getDriverClassName
Methods inherited from interface me.hsgamer.hscore.database.driver.h2.H2BaseDriver
convertURL, getDriverClass
-
Constructor Details
-
H2ServerDriver
public H2ServerDriver(boolean isSSH) Create a new server driver- Parameters:
isSSH
- true if the server is open to SSH, otherwise it is TCP
-
H2ServerDriver
public H2ServerDriver()Create a new TCP server driver
-
-
Method Details
-
getConnectionString
- Specified by:
getConnectionString
in interfaceH2BaseDriver
-
applyDefaultSetting
Description copied from interface:Driver
Apply the default setting- Specified by:
applyDefaultSetting
in interfaceDriver
- Parameters:
setting
- the setting
-