374/461

## glassfish:jdbcra:sqltracing:traceSqlEvent

SQL statement executed event

Synopsis

    glassfish:jdbcra:sqltracing:traceSqlEvent(
    java.lang.String poolName,
    java.lang.String applicationName,
    java.lang.String moduleName)

Description

This event is sent whenever an SQL statement is executed, provided that the `sql-trace-listeners` attribute of the JDBC connection pool is specified.

Use this event to trace or log SQL statement execution.

Parameters

`poolName`

  The name of the JDBC connection pool.

`applicationName`

  The name of the application in which the connection pool is defined. This parameter is applicable only for application-scoped resources.

`moduleName`

  The name of the application module in which the connection pool is defined. This parameter is applicable only for application-scoped resources.