Package com.j_spaces.jdbc.driver
Class GDriver
java.lang.Object
com.j_spaces.jdbc.driver.GDriver
- All Implemented Interfaces:
Driver
GigaSpaces JDBC driver implementation.
- Author:
- Michael Mitrani
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) Only urls that start with jdbc:gigaspaces: are compliantconnect(String url, Properties info) intintstatic HashMapgetPropertyInfo(String url, Properties info) booleanThis one is not fully compliant.
-
Field Details
-
MAJOR_VERSION
public static final int MAJOR_VERSION- See Also:
-
MINOR_VERSION
public static final int MINOR_VERSION- See Also:
-
DRIVER_NAME
- See Also:
-
-
Constructor Details
-
GDriver
public GDriver()
-
-
Method Details
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver- See Also:
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver- See Also:
-
jdbcCompliant
public boolean jdbcCompliant()This one is not fully compliant.- Specified by:
jdbcCompliantin interfaceDriver- See Also:
-
acceptsURL
Only urls that start with jdbc:gigaspaces: are compliant- Specified by:
acceptsURLin interfaceDriver- See Also:
-
connect
- Specified by:
connectin interfaceDriver- Returns:
- Connection, the new GConnection or null in case of invalid url.
- Throws:
SQLException- See Also:
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver- See Also:
-
getProcTable
-
getParentLogger
- Specified by:
getParentLoggerin interfaceDriver
-