com.j_spaces.jdbc.driver
Class GDriver
java.lang.Object
  
com.j_spaces.jdbc.driver.GDriver
- All Implemented Interfaces: 
 - Driver
 
public class GDriver
- extends Object
- implements Driver
  
GigaSpaces JDBC driver implementation.
- Author:
 
  - Michael Mitrani
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MAJOR_VERSION
public static final int MAJOR_VERSION
- See Also:
 - Constant Field Values
 
MINOR_VERSION
public static final int MINOR_VERSION
- See Also:
 - Constant Field Values
 
DRIVER_NAME
public static final String DRIVER_NAME
- See Also:
 - Constant Field Values
 
registered
public static boolean registered
GDriver
public GDriver()
registerDriver
public static void registerDriver()
 
 
getMajorVersion
public int getMajorVersion()
- Specified by:
 getMajorVersion in interface Driver
 
- See Also:
 Driver.getMajorVersion()
 
getMinorVersion
public int getMinorVersion()
- Specified by:
 getMinorVersion in interface Driver
 
- See Also:
 Driver.getMinorVersion()
 
jdbcCompliant
public boolean jdbcCompliant()
- This one is not fully compliant.
- Specified by:
 jdbcCompliant in interface Driver
 
- See Also:
 Driver.jdbcCompliant()
 
 
acceptsURL
public boolean acceptsURL(String url)
                   throws SQLException
- Only urls that start with jdbc:gigaspaces: are compliant
- Specified by:
 acceptsURL in interface Driver
 
- Throws:
 SQLException- See Also:
 Driver.acceptsURL(java.lang.String)
 
 
connect
public Connection connect(String url,
                          Properties info)
                   throws SQLException
- Specified by:
 connect in interface Driver
 
- Returns:
 - Connection, the new GConnection 
 or null in case of invalid url.
 - Throws:
 SQLException- See Also:
 Driver.connect(java.lang.String, java.util.Properties)
 
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String url,
                                            Properties info)
                                     throws SQLException
- Specified by:
 getPropertyInfo in interface Driver
 
- Throws:
 SQLException- See Also:
 Driver.getPropertyInfo(java.lang.String, java.util.Properties)
 
getProcTable
public static HashMap getProcTable()
 
 
getParentLogger
public Logger getParentLogger()
                       throws SQLFeatureNotSupportedException
 
- Throws:
 SQLFeatureNotSupportedException
 
Copyright © GigaSpaces.