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>

public class H2Client extends BaseSqlClient<org.h2.jdbcx.JdbcDataSource>
  • Constructor Details

    • H2Client

      public H2Client(Setting setting)
      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

      public Connection getConnection() throws SQLException
      Description copied from interface: SqlClient
      Get the connection
      Returns:
      the connection
      Throws:
      SQLException - if there is an SQL error