Package org.gvsig.fmap.dal.store.h2
Class Testmdb.Driver
java.lang.Object
org.gvsig.fmap.dal.store.h2.Testmdb.Driver
- All Implemented Interfaces:
Driver,org.h2.JdbcDriverBackwardsCompat
- Enclosing class:
Testmdb
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) Check if the driver understands this URL.connect(String url, Properties info) intGet the major version number of the driver.intGet the minor version number of the driver.[Not supported]getPropertyInfo(String url, Properties info) Get the list of supported properties.booleanCheck if this driver is compliant to the JDBC specification.static Testmdb.Driverload()INTERNALstatic voidunload()INTERNAL
-
Constructor Details
-
Driver
public Driver()
-
-
Method Details
-
connect
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
acceptsURL
Check if the driver understands this URL. This method should not be called by an application.- Specified by:
acceptsURLin interfaceDriver- 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:
getMajorVersionin interfaceDriver- 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:
getMinorVersionin interfaceDriver- Returns:
- the minor version number
-
getPropertyInfo
Get the list of supported properties. This method should not be called by an application.- Specified by:
getPropertyInfoin interfaceDriver- Parameters:
url- the database URLinfo- 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:
jdbcCompliantin interfaceDriver- Returns:
- true
-
getParentLogger
[Not supported]- Specified by:
getParentLoggerin interfaceDriver
-
load
INTERNAL- Returns:
-
unload
public static void unload()INTERNAL
-