public static class HibernateOrmRuntimeConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitLog extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
formatSql
Format the SQL logs if SQL log is enabled
|
Optional<Boolean> |
jdbcWarnings
Whether JDBC warnings should be collected and logged.
|
boolean |
sql
Show SQL logs and format them nicely.
|
Constructor and Description |
---|
HibernateOrmConfigPersistenceUnitLog() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAnyPropertySet() |
@ConfigItem public boolean sql
Setting it to true is obviously not recommended in production.
@ConfigItem(defaultValue="true") public boolean formatSql
@ConfigItem(defaultValueDocumentation="depends on dialect") public Optional<Boolean> jdbcWarnings
Copyright © 2021 JBoss by Red Hat. All rights reserved.