|
Sun Adapter for Oracle Applications API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stc.connector.oracleadapter.base.SessionImpl
com.stc.connector.oracleadapter.OracleSession
public class OracleSession
Session hosts a Connection interface
| Field Summary |
|---|
| Fields inherited from interface com.stc.connector.db.Session |
|---|
DBMS_TYPE_UNKNOWN |
| Constructor Summary | |
|---|---|
OracleSession(javax.sql.DataSource dataSource,
java.lang.String userName,
java.lang.String password)
OracleSession constructor. |
|
| Method Summary | |
|---|---|
void |
checkConnection(java.sql.SQLException sqlException)
Connection status check if there is a SQL exception. |
boolean |
isNativeDriver()
Check to see if it is a native driver |
void |
open()
Opens the session. |
void |
setDBMS(int dbmsType)
Sets the DBMS type. |
| Methods inherited from class com.stc.connector.oracleadapter.base.SessionImpl |
|---|
addSessionEventListener, close, commit, connect, connInvoke, getAutoCommit, getCatalog, getConcurrencyType, getConnection, getDBMS, getMetaData, getNewTypeFlag, getResultSetType, getSupportsBatch, getTransactionIsolation, getTypeMap, isClosed, isConnected, isReadOnly, releaseResources, removeSessionEventListener, requestReset, rollback, setAutoCommit, setCatalog, setConcurrencyType, setNewTypeFlag, setReadOnly, setResultSetType, setTransactionIsolation, setTypeMap |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OracleSession(javax.sql.DataSource dataSource,
java.lang.String userName,
java.lang.String password)
dataSource - a DataSource instance used to create a connection.userName - user name for login.password - password for login.| Method Detail |
|---|
public void open()
throws java.sql.SQLException
open in interface com.stc.connector.db.Sessionopen in class SessionImpljava.sql.SQLException - when SQL problems occur.
public void setDBMS(int dbmsType)
throws java.sql.SQLException
setDBMS in interface com.stc.connector.db.SessionsetDBMS in class SessionImpldbmsType - the database vendor type.
java.sql.SQLException - when there is any SQL problem.public boolean isNativeDriver()
public void checkConnection(java.sql.SQLException sqlException)
throws java.sql.SQLException
checkConnection in interface com.stc.connector.db.SessioncheckConnection in class SessionImplsqlException - a SQLException instance.
java.sql.SQLException - when SQL problems occur.
|
Sun Adapter for Oracle Applications API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||