|
|||||||||
| 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.OracleConnectionCacheImpl
|
+--oracle.sqlj.runtime.OracleSqljConnectionCacheImpl
|
+--oracle.sqlj.runtime.SqljConnCacheBean
DESCRIPTION SqljConnCacheBean can be used in place of ConnCacheBean. Compared to ConnCacheBean, SqljConnCacheBean support extra APIs defined in sqlj.runtime.ConnectionContextFactory.
ConnectionContextFactory,
NOTES
Although SqljConnCacheBean can be considered as an enhancement
of ConnCacheBean, it is implemented by extending OracleSqljConnectionCacheImpl,
rather than ConnCacheBean.,
Bean Properties
- User - user name for connection
- Password password for connection
- URL URL for database connection
- MaxLimit Set the maximum no of connections for the Cache
- MinLimit Set the minimum no of connections for the Cache
- CacheScheme Set the Cache Scheme
Possible values for Scheme are :
- DYNAMIC_SCHEME
- FIXED_WAIT_SCHEME
- FIXED_RETURN_NULL_SCHEME
, Serialized Form| Field Summary | |
static int |
DYNAMIC_SCHEME
|
static int |
FIXED_RETURN_NULL_SCHEME
|
static int |
FIXED_WAIT_SCHEME
|
| Fields inherited from class oracle.jdbc.pool.OracleConnectionCacheImpl |
_DEFAULT_MAX_LIMIT,
_DEFAULT_MIN_LIMIT,
_MAX_LIMIT,
_MIN_LIMIT,
DEFAULT_CACHE_TIMEOUT,
DEFAULT_FIXED_WAIT_IDLE_TIME,
DEFAULT_THREAD_INTERVAL,
DYNAMIC_SCHEME,
FIXED_RETURN_NULL_SCHEME,
FIXED_WAIT_SCHEME,
m_activeSize,
m_cacheFixedWaitTimeOut,
m_cacheInactivityTimeOut,
m_cacheScheme,
m_cacheSize,
m_cacheTTLTimeOut,
m_cpds,
m_fixedWaitIdleTime,
m_ocel,
m_stmtCacheSize,
m_stmtClearMetaData,
m_threadInterval,
m_timeOutThread |
| 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 |
| Constructor Summary | |
SqljConnCacheBean()
|
|
| Method Summary | |
void |
outOfScope(oracle.jsp.event.JspScopeEvent ae)
|
| Methods inherited from class oracle.sqlj.runtime.OracleSqljConnectionCacheImpl |
getContext,
getContext,
getContext,
getContext,
getDefaultContext,
getDefaultContext,
getDefaultContext,
getDefaultContext |
| Methods inherited from class oracle.jdbc.pool.OracleConnectionCacheImpl |
clearWarnings,
close,
closePooledConnection,
closeSingleConnection,
getActiveSize,
getCacheFixedWaitIdleTime,
getCacheFixedWaitTimeout,
getCacheInactivityTimeout,
getCacheScheme,
getCacheSize,
getCacheTimeToLiveTimeout,
getConnection,
getConnection,
getMaxLimit,
getMinLimit,
getPooledConnection,
getReference,
getStmtCacheSize,
getThreadWakeUpInterval,
getWarnings,
reusePooledConnection,
setCacheFixedWaitIdleTime,
setCacheFixedWaitTimeout,
setCacheInactivityTimeout,
setCacheScheme,
setCacheScheme,
setCacheTimeToLiveTimeout,
setConnectionPoolDataSource,
setMaxLimit,
setMinLimit,
setStmtCacheSize,
setStmtCacheSize,
setThreadWakeUpInterval |
| Methods inherited from class oracle.jdbc.pool.OracleDataSource |
addRefProperties,
getDatabaseName,
getDataSourceName,
getDescription,
getDriverType,
getExplicitCachingEnabled,
getImplicitCachingEnabled,
getLoginTimeout,
getLogWriter,
getMaxStatements,
getNetworkProtocol,
getPassword,
getPortNumber,
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 |
public static final int DYNAMIC_SCHEME
public static final int FIXED_WAIT_SCHEME
public static final int FIXED_RETURN_NULL_SCHEME
| Constructor Detail |
public SqljConnCacheBean()
throws java.sql.SQLException
| Method Detail |
public void outOfScope(oracle.jsp.event.JspScopeEvent ae)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||