Class Db2DatabaseFactory

java.lang.Object
is.codion.dbms.db2.Db2DatabaseFactory
All Implemented Interfaces:
DatabaseFactory

public final class Db2DatabaseFactory extends Object implements DatabaseFactory
Provides db2 database implementations
  • Constructor Details

    • Db2DatabaseFactory

      public Db2DatabaseFactory()
  • 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.