Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt

Use this file to discover all available pages before exploring further.

File purpose

The hibernate.properties file is used to configure the Content Service database and connections to the Content Server. Hibernate properties are prefixed with content-service.db and are used in LocalContentServiceConfig. For standard field meanings, see Hibernate - Appendix A: Configuration Settings.

File values

PropertyDefault valueDescription
content-service.db.hibernate.dialectorg.hibernate.dialect.H2DialectSQL dialect used for the Hibernate connection to the content server.
content-service.db.hibernate.show_sqlfalseEnable/disable the logging of all generated SQL statements to the console.
content-service.db.hibernate.format_sqlfalseEnable/disable formatting the generated SQL statement. Enabling this makes the statement more readable, but takes up more screen space.
content-service.db.hibernate.hbm2ddl.autoupdateHibernate database schema generation process. Possible values are: none, create-only, drop, create, create-drop, validate, update.
content-service.db.hibernate.connection.provider_classorg.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImplImplementation of the ConnectionProvider.
content-service.db.urljdbc:h2:%{dbfile};DB_CLOSE_DELAY=-1The URL of the Hibernate connection to the content server.
content-service.db.file.namefrtb_ref_impl_content_serviceThe name of the dbfile used in the Hibernate connection URL.
%{dbfile}** wildcard on the database URL.
content-service.db.defaultAutoCommitfalseThe default auto-commit state of connections created by this pool.
content-service.db.jakarta.persistence.jdbc.driverorg.h2.DriverThe fully qualified Java class name of the JDBC driver to be used.
content-service.db.jdbcInterceptorsorg.apache.tomcat.jdbc.pool.interceptor.ConnectionStateA semicolon-separated list of classnames, extending the org.apache.tomcat.jdbc.pool.JdbcInterceptor class. These interceptors will be inserted as an interceptor into the chain of operations on a java.sql.Connection object.