org.eclipse.datatools.connectivity.drivers.jdbc
Class JDBCConnection
java.lang.Object
   org.eclipse.datatools.connectivity.VersionProviderConnection
org.eclipse.datatools.connectivity.VersionProviderConnection
       org.eclipse.datatools.connectivity.DriverConnectionBase
org.eclipse.datatools.connectivity.DriverConnectionBase
           org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection
org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection
- All Implemented Interfaces: 
- IConnection, IServerVersionProvider
- Direct Known Subclasses: 
- JDBCConnection
- public class JDBCConnection 
- extends DriverConnectionBase
NON-API
 
 IConnection implementation for java.sql.Connection objects.
 This object is responsible for openening and closing JDBC connections.
 
 The property keys specified in
 org.eclipse.datatools.connectivity.db.generic.IDBConnectionProfileConstants
 are used to create the connection.
 
 Version information is provided by using java.sql.DatabaseMetaData.
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TECHNOLOGY_ROOT_KEY
public static final java.lang.String TECHNOLOGY_ROOT_KEY
- See Also:
- Constant Field Values
TECHNOLOGY_NAME
public static final java.lang.String TECHNOLOGY_NAME
JDBCConnection
public JDBCConnection(IConnectionProfile profile,
                      java.lang.Class factoryClass)
open
public void open()
- Description copied from class: DriverConnectionBase
- opens a connection to the server identified by the connection profile.
 
- 
- Overrides:
- openin class- DriverConnectionBase
 
- 
 
getJarListAsArray
public java.lang.String[] getJarListAsArray(java.lang.String jarList)
- 
 
createClassLoader
public java.lang.ClassLoader createClassLoader(java.lang.ClassLoader parentCL)
                                        throws java.lang.Exception
- 
- Throws:
- java.lang.Exception
 
close
public void close()
- Description copied from interface: IConnection
- Closes the underlying native connection object. This causes other users
 of this connection to be notified of this connection's closure.
 
- 
 
getProviderName
public java.lang.String getProviderName()
- 
- Returns:
- the name of the provider (e.g. ASE)
 
getProviderVersion
public Version getProviderVersion()
- 
- Returns:
- the version of the server (e.g. 12.5)
 
getTechnologyName
public java.lang.String getTechnologyName()
- 
- Returns:
- the technology name; null if not supported (e.g. JMS)
 
getTechnologyVersion
public Version getTechnologyVersion()
- 
- Returns:
- the version of the technology running on the server (e.g. 1.1)