Interface SQLDatabaseAPI

All Known Implementing Classes:
MySqlDatabase, SQLiteDatabase

public interface SQLDatabaseAPI
An interface representing an SQL database
  • Method Details

    • getConnection

      Connection getConnection() throws SQLException
      Gets a database connection
      Returns:

      A database connection

      Throws:
      SQLException -

      If unable to establish a database connection

    • getDriver

      DatabaseDriver getDriver()
      Returns:

      The driver this database is using