|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a connection to OWB Repository.
Method Summary | |
void |
commit() Commits the current global transaction. |
java.lang.String |
getConnectString() Returns the connect string (in the form "host:port:SID"). |
int |
getMode() Returns the connection mode. |
java.lang.String |
getRepositoryVersion() Returns the repository version value. |
java.lang.String |
getUserName() Returns the connected user name. |
boolean |
isCommitRequired() Tests whether there are metadata changes done in the current global transaction, which have not been committed yet. |
void |
rollback() Aborts the current global transaction. |
void |
switchMode(int connectionMode) Switch the connection mode. |
Method Detail |
public java.lang.String getUserName()
public java.lang.String getConnectString()
public java.lang.String getRepositoryVersion()
public int getMode()
RepositoryManager
public void switchMode(int connectionMode) throws CannotSwitchConnModeException
connectionMode
- the mode to switch connection into; valid values are the constants defined in RepositoryManager
CannotSwitchConnModeException
- if the connection could not be switched to the desired modepublic void commit()
public void rollback()
public boolean isCommitRequired()
true
if there are changes done by the current transaction, which need to be committed.
|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |