org.eclipse.datatools.enablement.ibm.db2.internal.zseries
Class JDBCZSeriesJDBCConnection
java.lang.Object
org.eclipse.datatools.connectivity.VersionProviderConnection
org.eclipse.datatools.connectivity.DriverConnectionBase
org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection
org.eclipse.datatools.enablement.ibm.db2.internal.zseries.JDBCZSeriesJDBCConnection
- All Implemented Interfaces:
- IConnection, IServerVersionProvider
public class JDBCZSeriesJDBCConnection
- extends JDBCConnection
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCZSeriesJDBCConnection
public JDBCZSeriesJDBCConnection(IConnectionProfile profile,
java.lang.Class factoryClass)
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