|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
org.eclipse.datatools.connectivity.oda.IDriver .
A connection factory interface used to produce an IConnection object.
| Method Summary | |
IConnection |
getConnection(java.lang.String dataSourceId)
Deprecated. Returns an IConnection object that can then be used to establish a runtime connection to the underlying data source with the given unique id. |
int |
getMaxConnections()
Deprecated. Returns the maximum number of concurrent connections that the driver can support. |
void |
setLogConfiguration(LogConfiguration logConfig)
Deprecated. An optional method to set the trace logging configuration of the ODA runtime driver for the given type of data source and its runtime connection(s). |
| Method Detail |
public IConnection getConnection(java.lang.String dataSourceId)
throws OdaException
dataSourceId - The id fo a type of data source supported by this IDriver.
This matches the data source element id defined in
the data source driver's configuration file.
A null or empty String will use the default
data source type supported by this IDriver.
OdaException - if data source error occurs.IConnection
public void setLogConfiguration(LogConfiguration logConfig)
throws OdaException
logConfig - The trace logging configuration.
OdaException - if ODA runtime driver error occurs.
public int getMaxConnections()
throws OdaException
OdaException - if driver error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||