|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jdbc.pool.OracleDataSource | +--oracle.jdbc.pool.OracleConnectionPoolDataSource | +--oracle.jdbc.xa.OracleXADataSource | +--oracle.sqlj.runtime.OracleSqljXADataSource
OracleSqljXADataSource extends the JDBC data source abstract class OracleXADataSource with ConnectionContextFactory APIs, which provide convinent ways of obtaining connection context within SQLJ programs. This interface requires Java 2 Enterprise Edition (J2EE).
Field Summary | |
protected ConnectionContextFactory |
m_ctxFactory
|
Fields inherited from class oracle.jdbc.xa.OracleXADataSource |
m_nativeXA |
Fields inherited from class oracle.jdbc.pool.OracleDataSource |
m_databaseName,
m_dataSourceName,
m_description,
m_driverType,
m_explicitCachingEnabled,
m_implicitCachingEnabled,
m_maxStatements,
m_networkProtocol,
m_password,
m_portNumber,
m_pw,
m_serverName,
m_serviceName,
m_timeout,
m_tnsentry,
m_url,
m_user |
Method Summary | |
ConnectionContext |
getContext(java.lang.Class ctxClass)
Returns an instance of ctxClass. |
ConnectionContext |
getContext(java.lang.Class ctxClass,
boolean autoCommit)
Returns an instance of ctxClass. |
ConnectionContext |
getContext(java.lang.Class ctxClass,
java.lang.String user,
java.lang.String password)
Returns an instance of ctxClass. |
ConnectionContext |
getContext(java.lang.Class ctxClass,
java.lang.String user,
java.lang.String password,
boolean autoCommit)
Returns an instance of ctxClass. |
DefaultContext |
getDefaultContext()
Returns a DefaultContext instance. |
DefaultContext |
getDefaultContext(boolean autoCommit)
Returns a DefaultContext instance. |
DefaultContext |
getDefaultContext(java.lang.String user,
java.lang.String password)
Returns a DefaultContext instance. |
DefaultContext |
getDefaultContext(java.lang.String user,
java.lang.String password,
boolean autoCommit)
Returns a DefaultContext instance. |
Methods inherited from class oracle.jdbc.xa.OracleXADataSource |
getNativeXA,
getXAConnection,
getXAConnection,
setNativeXA |
Methods inherited from class oracle.jdbc.pool.OracleConnectionPoolDataSource |
getPhysicalConnection,
getPhysicalConnection,
getPhysicalConnection,
getPooledConnection,
getPooledConnection |
Methods inherited from class oracle.jdbc.pool.OracleDataSource |
addRefProperties,
getConnection,
getConnection,
getDatabaseName,
getDataSourceName,
getDescription,
getDriverType,
getExplicitCachingEnabled,
getImplicitCachingEnabled,
getLoginTimeout,
getLogWriter,
getMaxStatements,
getNetworkProtocol,
getPassword,
getPortNumber,
getReference,
getServerName,
getServiceName,
getTNSEntryName,
getURL,
getUser,
setDatabaseName,
setDataSourceName,
setDescription,
setDriverType,
setExplicitCachingEnabled,
setImplicitCachingEnabled,
setLoginTimeout,
setLogWriter,
setMaxStatements,
setNetworkProtocol,
setPassword,
setPortNumber,
setServerName,
setServiceName,
setTNSEntryName,
setURL,
setUser,
trace |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected ConnectionContextFactory m_ctxFactory
Method Detail |
public DefaultContext getDefaultContext() throws java.sql.SQLException
public DefaultContext getDefaultContext(java.lang.String user, java.lang.String password) throws java.sql.SQLException
user
- the user name for the JDBC connection assciated with the returned contextpassword
- the password for the JDBC connection assciated with the returned contextpublic ConnectionContext getContext(java.lang.Class ctxClass) throws java.sql.SQLException
ctxClass
- the type of the returned connection contextpublic ConnectionContext getContext(java.lang.Class ctxClass, java.lang.String user, java.lang.String password) throws java.sql.SQLException
ctxClass
- the type of the returned connection contextuser
- the user name for the JDBC connection assciated with the returned contextpassword
- the password for the JDBC connection assciated with the returned contextpublic DefaultContext getDefaultContext(boolean autoCommit) throws java.sql.SQLException
autoCommit
- the autoCommit setting of the JDBC connection associated with the returned connection contextpublic DefaultContext getDefaultContext(java.lang.String user, java.lang.String password, boolean autoCommit) throws java.sql.SQLException
user
- the user name for the JDBC connection assciated with the returned contextpassword
- the password for the JDBC connection assciated with the returned contextautoCommit
- the autoCommit setting of the JDBC connection associated with the returned connection contextpublic ConnectionContext getContext(java.lang.Class ctxClass, boolean autoCommit) throws java.sql.SQLException
ctxClass
- the type of the returned connection contextautoCommit
- the autoCommit setting of the JDBC connection associated with the returned connection contextpublic ConnectionContext getContext(java.lang.Class ctxClass, java.lang.String user, java.lang.String password, boolean autoCommit) throws java.sql.SQLException
ctxClass
- the type of the returned connection contextuser
- the user name for the JDBC connection assciated with the returned contextpassword
- the password for the JDBC connection assciated with the returned contextautoCommit
- the autoCommit setting of the JDBC connection associated with the returned connection context
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |