Package io.quarkus.hibernate.orm.runtime
Interface HibernateOrmRuntimeConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitLog
- Enclosing interface:
- HibernateOrmRuntimeConfigPersistenceUnit
public static interface HibernateOrmRuntimeConfigPersistenceUnit.HibernateOrmConfigPersistenceUnitLog
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
sql()
Show SQL logs and format them nicely.
-
Method Details
-
sql
@WithDefault("false") boolean sql()Show SQL logs and format them nicely.Setting it to true is obviously not recommended in production.
-
formatSql
@WithDefault("true") boolean 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.
-