Skip to main content

Source code revision

svn

summary: Added support for Tracing SQL statements - a new feature of Jdbc Connection Pool.
revision: 28986
author: sm157516
date: 2009-07-12 18:38:30 UTC (7 years)
message: Added support for Tracing SQL statements - a new feature of Jdbc Connection Pool.

A public interface org.glassfish.api.jdbc.SQLTraceListener will be introduced which administrators/developers can implement to provide a means of recording the SQLTraceRecord objects.

This feature is used to trace sql statements executed by applications. This is made easy by setting an attribute sql-trace-listeners to a comma separated list of listener implementations.

Reviewed by : Jagadish Ramu

Tests run : QL, connector/jdbc devtests.

Change Path Actions
M trunk/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JdbcConnectionPool.java
A trunk/v3/common/glassfish-api/src/main/java/org/glassfish/api/jdbc/SQLTraceListener.java
A trunk/v3/common/glassfish-api/src/main/java/org/glassfish/api/jdbc/SQLTraceRecord.java
M trunk/v3/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/deployer/DataSourceDefinitionDeployer.java
M trunk/v3/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/deployer/JdbcConnectionPoolDeployer.java
M trunk/v3/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/common/DataSourceSpec.java
M trunk/v3/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/JdbcObjectsFactory.java
M trunk/v3/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/ManagedConnection.java
M trunk/v3/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/ManagedConnectionFactory.java
A trunk/v3/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/util/SQLTraceDelegator.java
A trunk/v3/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/util/SQLTraceLogger.java
M trunk/v3/jdbc/jdbc-ra/jdbc-core/src/main/resources/com/sun/gjc/spi/LogStrings.properties
M trunk/v3/jdbc/jdbc-ra/jdbc30/src/main/java/com/sun/gjc/spi/jdbc30/Jdbc30ObjectsFactory.java
A trunk/v3/jdbc/jdbc-ra/jdbc30/src/main/java/com/sun/gjc/spi/jdbc30/ProfiledConnectionWrapper30.java
M trunk/v3/jdbc/jdbc-ra/jdbc40/src/main/java/com/sun/gjc/spi/jdbc40/Jdbc40ObjectsFactory.java
A trunk/v3/jdbc/jdbc-ra/jdbc40/src/main/java/com/sun/gjc/spi/jdbc40/ProfiledConnectionWrapper40.java
 
 
Close
loading
Please Confirm
Close