Package io.quarkus.hibernate.orm.runtime
Class HibernateOrmRuntimeConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitLog
java.lang.Object
io.quarkus.hibernate.orm.runtime.HibernateOrmRuntimeConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitLog
- Enclosing class:
- HibernateOrmRuntimeConfigPersistenceUnit
public static class HibernateOrmRuntimeConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitLog
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Format the SQL logs if SQL log is enabledWhether JDBC warnings should be collected and logged.If set, Hibernate will log queries that took more than specified number of milliseconds to execute.boolean
Show SQL logs and format them nicely. -
Constructor Summary
-
Method Summary
-
Field Details
-
sql
Show SQL logs and format them nicely.Setting it to true is obviously not recommended in production.
-
formatSql
Format the SQL logs if SQL log is enabled -
jdbcWarnings
Whether JDBC warnings should be collected and logged. -
queriesSlowerThanMs
If set, Hibernate will log queries that took more than specified number of milliseconds to execute.
-
-
Constructor Details
-
HibernateOrmConfigPersistenceUnitLog
public HibernateOrmConfigPersistenceUnitLog()
-
-
Method Details
-
isAnyPropertySet
public boolean isAnyPropertySet()
-