Class JavaSqlClient
java.lang.Object
me.hsgamer.hscore.database.client.sql.java.JavaSqlClient
- All Implemented Interfaces:
Client<Properties>
,SqlClient<Properties>
The SQL client with the Java's Driver Manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectionGet the originalGet the settingMethods 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.sql.SqlClient
createBatchBuilder, createBatchBuilderSafe, createStatementBuilder, createStatementBuilderSafe
-
Constructor Details
-
JavaSqlClient
Create new SQL client- Parameters:
setting
- the setting
-
-
Method Details
-
getSetting
Description copied from interface:Client
Get the setting- Specified by:
getSetting
in interfaceClient<Properties>
- Returns:
- the setting
-
getConnection
Description copied from interface:SqlClient
Get the connection- Specified by:
getConnection
in interfaceSqlClient<Properties>
- Returns:
- the connection
- Throws:
SQLException
- if there is an SQL error
-
getOriginal
Description copied from interface:Client
Get the original- Specified by:
getOriginal
in interfaceClient<Properties>
- Returns:
- the original
-