|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectoracle.jdbc.pool.OracleDataSource
com.ibm.pdq.runtime.datasource.oracle.EnhancedDataSourceForOracle
public class EnhancedDataSourceForOracle
Extends the class oracle.jdbc.pool.OracleDataSource to provide support for pureQuery.
| Data Type | Field Name and Description |
|---|---|
static long |
serialVersionUID |
| Fields inherited from class oracle.jdbc.pool.OracleDataSource |
|---|
BUILD_DATE, isOracleDataSource, PRIVATE_TRACE, TRACE |
| Constructor and Description | |
|---|---|
EnhancedDataSourceForOracle()Constructs an instance of EnhancedDataSourceForOracle. |
|
| Return Data Type | Method Name and Description |
|---|---|
String |
getPdqProperties()Returns the string of pureQuery properties that was set by using the method EnhancedDataSource.setPdqProperties(String
pdqProperties). |
void |
setPdqProperties(String pdqProperties)Sets the pureQuery properties for this data source. |
| Methods inherited from class oracle.jdbc.pool.OracleDataSource |
|---|
close, filterConnectionProperties, getConnection, getConnection, getConnection, getConnection, getConnectionCacheName, getConnectionCacheProperties, getConnectionCachingEnabled,
getConnectionProperties, getDatabaseName, getDataSourceName, getDescription, getDriverType, getExplicitCachingEnabled, getFastConnectionFailoverEnabled, getImplicitCachingEnabled,
getLoginTimeout, getLogWriter, getMaxStatements, getNetworkProtocol, getONSConfiguration, getPortNumber, getReference, getServerName, getServiceName, getTNSEntryName, getURL, getUser,
setConnectionCacheName, setConnectionCacheProperties, setConnectionCachingEnabled, setConnectionProperties, setDatabaseName, setDataSourceName, setDescription, setDriverType,
setExplicitCachingEnabled, setFastConnectionFailoverEnabled, setImplicitCachingEnabled, setLoginTimeout, setLogWriter, setMaxStatements, setNetworkProtocol, setONSConfiguration,
setPassword, setPortNumber, setServerName, setServiceName, setTNSEntryName, setURL, setUser |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.sql.DataSource |
|---|
getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Field Detail |
|---|
public static final long serialVersionUID
Constructor Detail |
|---|
public EnhancedDataSourceForOracle()
throws SQLException
EnhancedDataSourceForOracle.
SQLExceptionMethod Detail |
|---|
public String getPdqProperties()
EnhancedDataSourceEnhancedDataSource.setPdqProperties(String pdqProperties). If
setPdqProperties(String pdqProperties) is not invoked, returns null.getPdqProperties in interface EnhancedDataSourceEnhancedDataSource.setPdqProperties(String
pdqProperties). Returns null if setPdqProperties(String pdqProperties) is not invoked.EnhancedDataSource.getPdqProperties()public void setPdqProperties(String pdqProperties)
EnhancedDataSourcepdqProperties must be a string of the pureQuery properties. The string must be in this format:
property1Key(property1Value),property2Key(property2Value),property3Key(property3Value)...
Each property must be listed as the property name, followed by the value in parentheses. Properties must be separated by commas.
The following properties are supported:
This example properties string directs pureQuery to capture SQL that is executed by connections that are created by the data source. The SQL is captured in the capture file
C:\directory\captureFile.pdqxml:
captureMode(ON),pureQueryXml(C:\directory\captureFile.pdqxml)
pureQuery properties can also be specified in a properties file. For each property, pureQuery looks in the following places in the order listed. pureQuery uses the first value that it finds.
pdq.appwide.properties in the classpath of the applicationpdq.dataSourceName.properties in the classpath of the applicationsetPdqProperties(String pdqProperties)pdq.properties in the classpath that is used to load pdq.jarsetPdqProperties in interface EnhancedDataSourcepdqProperties - A string that contains the pureQuery properties to set for this data source. Each property must be listed as the property name, followed by the value
in parentheses. Properties must separated by commas.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||