SqlStatementLogger is accessible via org.hibernate.engine.jdbc.spi.JdbcServices ,
but during service initialization, it might be needed before the JdbcServices service is
initialized.
| Modifier and Type | Field and Description |
|---|---|
| public static final SqlStatementLoggerInitiator | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Class | getServiceInitiated()
Implements org. |
| public SqlStatementLogger | initiateService(Map<String, Object>
The configuration values in effect configValues, ServiceRegistryImplementor The service registry. Can be used to locate services needed to fulfill initiation. registry)Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final SqlStatementLoggerInitiator INSTANCE | |
| OLD_LOG_SLOW_QUERY | back to summary |
|---|---|
| private static final String OLD_LOG_SLOW_QUERY | |
| SqlStatementLoggerInitiator | back to summary |
|---|---|
| public SqlStatementLoggerInitiator() | |
| getServiceInitiated | back to summary |
|---|---|
| public Class Implements org. Doc from org. Obtains the service role initiated by this initiator. Should be unique within a registry
| |
| initiateService | back to summary |
|---|---|
| public SqlStatementLogger initiateService(Map<String, Object> configValues, ServiceRegistryImplementor registry) Implements org. Doc from org. Initiates the managed service.
| |