Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
Setting Up the Implicit
Connection Cache for FCF
ï¢
The following JDBC Data Source file sets up the Implicit Connection Cache for FCF
on the Application Tier:
ï¢
OracleDataSource ods = new OracleDataSource()
...
ods.setUser(âScottâ);
ods.setPassword(âtigerâ);
ods.setConnectionCachingEnabled(True);
ods.setFastConnectionFailoverEnabled(True);
ods.setConnectionCacheName(âMyCacheâ);
ods.setConnectionCacheProperties(cp);
ods.setURL("jdbc:oracle:thin:@(DESCRIPTION=
(LOAD_BALANCE=on)
(ADDRESS=(PROTOCOL=TCP)(HOST=VIP1)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=VIP2)(PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=service_name)))");
ï¢
ï¢
ï¢
ï¢
ï¢
ï¢
ï¢
ï¢
ï¢
ï¢
ï¢
ï¢