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
ConstructorsConstructorDescriptionCreate a new TCP server driverH2ServerDriver(boolean isSSH) Create a new server driver -
Method Summary
Modifier and TypeMethodDescriptionapplyDefaultSetting(Setting setting) getConnectionString(Setting setting) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getConnectionStringin interfaceH2BaseDriver
-
applyDefaultSetting
- Specified by:
applyDefaultSettingin interfaceDriver
-