Skip to content

Instantly share code, notes, and snippets.

@nkonev
Created February 27, 2017 15:02
Show Gist options
  • Select an option

  • Save nkonev/648a39d8b8cd9e6c282d9ba0c65cecd6 to your computer and use it in GitHub Desktop.

Select an option

Save nkonev/648a39d8b8cd9e6c282d9ba0c65cecd6 to your computer and use it in GitHub Desktop.
hibernate logging and statistics
spring.jpa.hibernate.ddl-auto: validate
spring.jpa.database-platform: org.hibernate.dialect.PostgreSQLDialect
logging.level.org.hibernate.SQL: DEBUG
logging.level.org.hibernate.type: TRACE
spring.jpa.properties.hibernate.use_sql_comments: true
spring.jpa.properties.hibernate.format_sql: true
spring.jpa.properties.hibernate.generate_statistics: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment