|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.eclipse.datatools.connectivity.oda.IConnection
.
A data source connection interface used to establish a connection to the underlying data provider.
Method Summary | |
void |
close()
Deprecated. Attempts to close this connection. |
void |
commit()
Deprecated. Commits all changes made since the previous commit/rollback. |
int |
getMaxQueries()
Deprecated. Returns the maximum number of active queries for any data set types that the driver can support for this connection. |
IDataSetMetaData |
getMetaData(java.lang.String dataSetType)
Deprecated. Returns an IDataSetMetaData object of the the given data set type. |
boolean |
isOpen()
Deprecated. Checks whether this has an established connection |
IQuery |
newQuery(java.lang.String dataSetType)
Deprecated. Returns an IQuery object of the given data set type. |
void |
open(java.util.Properties connProperties)
Deprecated. Attempts to establish a connection based on the given connection properties. |
void |
rollback()
Deprecated. Undoes all changes made since the previous commit/rollback. |
Method Detail |
public void open(java.util.Properties connProperties) throws OdaException
connProperties
- Properties necessary to establish a connection.
OdaException
- if data source error occurs.public void close() throws OdaException
OdaException
- if data source error occurs.public boolean isOpen() throws OdaException
OdaException
- if data source error occurs.public IDataSetMetaData getMetaData(java.lang.String dataSetType) throws OdaException
dataSetType
- String representation of a data set type.
OdaException
- if data source error occurs.public IQuery newQuery(java.lang.String dataSetType) throws OdaException
dataSetType
- String representation of a data set type.
OdaException
- if data source error occurs.public int getMaxQueries() throws OdaException
OdaException
- if driver error occurs.public void commit() throws OdaException
OdaException
- if data source error occurs.public void rollback() throws OdaException
OdaException
- if data source error occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |