hibernate.properties

The hibernate.properties file configures Hibernate (persistence and query service) properties

Location: limits-starter\src\main\resources.

Section: content.hibernate

This section configures the Content Service database and connections to the Content Server.

Property Value Description
hibernate.connection.url “jdbc:h2:mem:content_service;DB_CLOSE_DELAY=-1” URL of the Hibernate connection to the content server.
hibernate.connection.driver_class org.h2.Driver Driver used for the Hibernate connection to the content server.
hibernate.dialect “org.hibernate.dialect.H2Dialect” SQL dialect used for the Hibernate connection to the content server.
hibernate.show_sql false Flag used to set up the printing of the SQL queries in the Hibernate logs.
hibernate.format_sql false Flag used to set up the formatting of the SQL queries in the Hibernate logs.
hibernate.hbm2ddl.auto update Hibernate DDL generation setup to run on startup against the content server database. NOTE: Remove this line once the table is created.