Class MySQLDatabaseFactory

java.lang.Object
is.codion.dbms.mysql.MySQLDatabaseFactory
All Implemented Interfaces:
DatabaseFactory

public final class MySQLDatabaseFactory extends Object implements DatabaseFactory
Provides mysql database implementations
  • Constructor Details

    • MySQLDatabaseFactory

      public MySQLDatabaseFactory()
  • 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
    • create

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