org.eclipse.datatools.enablement.ingres.internal.connectivity
Class IngresJDBCConnection

java.lang.Object
  extended by org.eclipse.datatools.connectivity.VersionProviderConnection
      extended by org.eclipse.datatools.connectivity.DriverConnectionBase
          extended by org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection
              extended by org.eclipse.datatools.connectivity.db.generic.JDBCConnection
                  extended by org.eclipse.datatools.enablement.ingres.internal.connectivity.IngresJDBCConnection
All Implemented Interfaces:
IConnection, IServerVersionProvider

public class IngresJDBCConnection
extends JDBCConnection

JDBC connection object to provide support for Ingres databases.

Author:
enrico.schenk@ingres.com

Field Summary
 
Fields inherited from class org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection
TECHNOLOGY_NAME, TECHNOLOGY_ROOT_KEY
 
Constructor Summary
IngresJDBCConnection(IConnectionProfile profile, java.lang.Class factoryClass)
          Constructor
 
Method Summary
 java.lang.String getProviderName()
           
 Version getProviderVersion()
           
 Version getTechnologyVersion()
           
 
Methods inherited from class org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection
close, createClassLoader, getJarListAsArray, getTechnologyName, open
 
Methods inherited from class org.eclipse.datatools.connectivity.DriverConnectionBase
getConnectException, getRawConnection
 
Methods inherited from class org.eclipse.datatools.connectivity.VersionProviderConnection
getConnectionFactoryClass, getConnectionProfile
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IngresJDBCConnection

public IngresJDBCConnection(IConnectionProfile profile,
                            java.lang.Class factoryClass)
Constructor

Parameters:
profile -
factoryClass -
Method Detail

getProviderName

public java.lang.String getProviderName()
Specified by:
getProviderName in interface IServerVersionProvider
Overrides:
getProviderName in class JDBCConnection
Returns:
the name of the provider (e.g. ASE)

getProviderVersion

public Version getProviderVersion()
Specified by:
getProviderVersion in interface IServerVersionProvider
Overrides:
getProviderVersion in class JDBCConnection
Returns:
the version of the server (e.g. 12.5)

getTechnologyVersion

public Version getTechnologyVersion()
Specified by:
getTechnologyVersion in interface IServerVersionProvider
Overrides:
getTechnologyVersion in class JDBCConnection
Returns:
the version of the technology running on the server (e.g. 1.1)