org.eclipse.datatools.enablement.ibm.db2.internal.zseries
Class JDBCZSeriesJDBCConnection

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.enablement.ibm.db2.internal.zseries.JDBCZSeriesJDBCConnection
All Implemented Interfaces:
IConnection, IServerVersionProvider

public class JDBCZSeriesJDBCConnection
extends JDBCConnection


Field Summary
 
Fields inherited from class org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection
TECHNOLOGY_NAME, TECHNOLOGY_ROOT_KEY
 
Constructor Summary
JDBCZSeriesJDBCConnection(IConnectionProfile profile, java.lang.Class factoryClass)
           
 
Method Summary
 java.lang.Throwable getConnectException()
          Return exception in connection
 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
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

JDBCZSeriesJDBCConnection

public JDBCZSeriesJDBCConnection(IConnectionProfile profile,
                                 java.lang.Class 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)

getConnectException

public java.lang.Throwable getConnectException()
Description copied from interface: IConnection
Return exception in connection

Specified by:
getConnectException in interface IConnection
Overrides:
getConnectException in class DriverConnectionBase
Returns:
exception thrown when connecting to the server