Class SqlServerDriver

java.lang.Object
me.hsgamer.hscore.database.driver.sqlserver.SqlServerDriver
All Implemented Interfaces:
Driver

public class SqlServerDriver extends Object implements Driver
A driver for Microsoft SQL Server
  • Constructor Details

    • SqlServerDriver

      public SqlServerDriver()
  • Method Details

    • getDriverClass

      public Class<? extends Driver> getDriverClass()
      Description copied from interface: Driver
      Get the driver class
      Specified by:
      getDriverClass in interface Driver
      Returns:
      the driver class
    • convertURL

      public String convertURL(Setting setting)
      Description copied from interface: Driver
      Get the JDBC url from the config
      Specified by:
      convertURL in interface Driver
      Parameters:
      setting - the setting
      Returns:
      the JDBC url
    • applyDefaultSetting

      public void applyDefaultSetting(Setting setting)
      Description copied from interface: Driver
      Apply the default setting
      Specified by:
      applyDefaultSetting in interface Driver
      Parameters:
      setting - the setting