Class Testmdb.Driver

java.lang.Object
org.gvsig.fmap.dal.store.h2.Testmdb.Driver
All Implemented Interfaces:
Driver, org.h2.JdbcDriverBackwardsCompat
Enclosing class:
Testmdb

public static class Testmdb.Driver extends Object implements Driver, org.h2.JdbcDriverBackwardsCompat
  • Constructor Details

    • Driver

      public Driver()
  • Method Details

    • connect

      public Connection connect(String url, Properties info) throws SQLException
      Specified by:
      connect in interface Driver
      Throws:
      SQLException
    • acceptsURL

      public boolean acceptsURL(String url)
      Check if the driver understands this URL. This method should not be called by an application.
      Specified by:
      acceptsURL in interface Driver
      Parameters:
      url - the database URL
      Returns:
      if the driver understands the URL
    • getMajorVersion

      public int getMajorVersion()
      Get the major version number of the driver. This method should not be called by an application.
      Specified by:
      getMajorVersion in interface Driver
      Returns:
      the major version number
    • getMinorVersion

      public int getMinorVersion()
      Get the minor version number of the driver. This method should not be called by an application.
      Specified by:
      getMinorVersion in interface Driver
      Returns:
      the minor version number
    • getPropertyInfo

      public DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
      Get the list of supported properties. This method should not be called by an application.
      Specified by:
      getPropertyInfo in interface Driver
      Parameters:
      url - the database URL
      info - the connection properties
      Returns:
      a zero length array
    • jdbcCompliant

      public boolean jdbcCompliant()
      Check if this driver is compliant to the JDBC specification. This method should not be called by an application.
      Specified by:
      jdbcCompliant in interface Driver
      Returns:
      true
    • getParentLogger

      public Logger getParentLogger()
      [Not supported]
      Specified by:
      getParentLogger in interface Driver
    • load

      public static Testmdb.Driver load()
      INTERNAL
      Returns:
    • unload

      public static void unload()
      INTERNAL