Class StatementLoggerQueryExecutionListenerConfiguration
java.lang.Object
org.hawaiiframework.logging.config.StatementLoggerQueryExecutionListenerConfiguration
@ConditionalOnClass(net.ttddyy.dsproxy.listener.QueryExecutionListener.class)
@Configuration
public class StatementLoggerQueryExecutionListenerConfiguration
extends Object
Configuration for statement execution logging.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a statement logger query execution listener.
-
Constructor Details
-
StatementLoggerQueryExecutionListenerConfiguration
public StatementLoggerQueryExecutionListenerConfiguration()
-
-
Method Details
-
statementLoggerQueryExecutionListener
@Bean @ConditionalOnClass(net.ttddyy.dsproxy.listener.QueryExecutionListener.class) public StatementLoggerQueryExecutionListener statementLoggerQueryExecutionListener()Create a statement logger query execution listener.- Returns:
- The listener that logs JDBC statements.
-