|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.data.oda.impl.SimpleConnection
org.eclipse.datatools.connectivity.oda.impl.SimpleConnection
.
Default implementation of IConnection for a simple ODA runtime driver.
Constructor Summary | |
SimpleConnection()
Deprecated. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleConnection()
Method Detail |
public void open(java.util.Properties connProperties) throws OdaException
IConnection
open
in interface IConnection
connProperties
- Properties necessary to establish a connection.
OdaException
- if data source error occurs.IConnection.open(java.util.Properties)
public void close() throws OdaException
IConnection
close
in interface IConnection
OdaException
- if data source error occurs.IConnection.close()
public boolean isOpen() throws OdaException
IConnection
isOpen
in interface IConnection
OdaException
- if data source error occurs.IConnection.isOpen()
public IDataSetMetaData getMetaData(java.lang.String dataSetType) throws OdaException
IConnection
getMetaData
in interface IConnection
dataSetType
- String representation of a data set type.
OdaException
- if data source error occurs.IConnection.getMetaData(java.lang.String)
public IQuery newQuery(java.lang.String dataSetType) throws OdaException
IConnection
newQuery
in interface IConnection
dataSetType
- String representation of a data set type.
OdaException
- if data source error occurs.IConnection.newQuery(java.lang.String)
public int getMaxQueries() throws OdaException
IConnection
getMaxQueries
in interface IConnection
OdaException
- if driver error occurs.IConnection.getMaxQueries()
public void commit() throws OdaException
IConnection
commit
in interface IConnection
OdaException
- if data source error occurs.IConnection.commit()
public void rollback() throws OdaException
IConnection
rollback
in interface IConnection
OdaException
- if data source error occurs.IConnection.rollback()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |