Class MariaDBDatabaseFactory

java.lang.Object
is.codion.dbms.mariadb.MariaDBDatabaseFactory
All Implemented Interfaces:
DatabaseFactory

public final class MariaDBDatabaseFactory extends Object implements DatabaseFactory
Provides mariadb database implementations
  • Constructor Details

    • MariaDBDatabaseFactory

      public MariaDBDatabaseFactory()
  • Method Details

    • driverCompatible

      public boolean driverCompatible(String driverClassName)
      Specified by:
      driverCompatible in interface DatabaseFactory
      Parameters:
      driverClassName - the driver class name
      Returns:
      true if this database factory is compatible with the given driver
    • createDatabase

      public Database createDatabase(String url)
      Specified by:
      createDatabase in interface DatabaseFactory
      Parameters:
      url - the jdbc url
      Returns:
      a new Database implementation based on the given jdbc url.