public class TransactionLifecycleAwareSqlStatementLogger
extends org.hibernate.engine.jdbc.spi.SqlStatementLogger
SqlStatementLogger
that will log sql statements during a transaction with TransactionLifecycleMonitor
.Constructor and Description |
---|
TransactionLifecycleAwareSqlStatementLogger() |
TransactionLifecycleAwareSqlStatementLogger(boolean logToStdout,
boolean format) |
Modifier and Type | Method and Description |
---|---|
void |
logStatement(String statement,
org.hibernate.engine.jdbc.internal.Formatter formatter) |
public TransactionLifecycleAwareSqlStatementLogger()
public TransactionLifecycleAwareSqlStatementLogger(boolean logToStdout, boolean format)
public void logStatement(String statement, org.hibernate.engine.jdbc.internal.Formatter formatter)
logStatement
in class org.hibernate.engine.jdbc.spi.SqlStatementLogger
Copyright © 2022. All rights reserved.