Class H2Client
java.lang.Object
me.hsgamer.hscore.database.BaseClient<T>
me.hsgamer.hscore.database.client.sql.BaseSqlClient<org.h2.jdbcx.JdbcDataSource>
me.hsgamer.hscore.database.client.sql.h2.H2Client
- All Implemented Interfaces:
Client<org.h2.jdbcx.JdbcDataSource>
,SqlClient<org.h2.jdbcx.JdbcDataSource>
-
Field Summary
Fields inherited from class me.hsgamer.hscore.database.BaseClient
setting
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectionorg.h2.jdbcx.JdbcDataSource
Get the originalMethods inherited from class me.hsgamer.hscore.database.BaseClient
getSetting
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.Client
getSetting
Methods inherited from interface me.hsgamer.hscore.database.client.sql.SqlClient
createBatchBuilder, createBatchBuilderSafe, createStatementBuilder, createStatementBuilderSafe
-
Constructor Details
-
H2Client
Create a new H2 client- Parameters:
setting
- the setting
-
-
Method Details
-
getOriginal
public org.h2.jdbcx.JdbcDataSource getOriginal()Description copied from interface:Client
Get the original- Returns:
- the original
-
getConnection
Description copied from interface:SqlClient
Get the connection- Returns:
- the connection
- Throws:
SQLException
- if there is an SQL error
-