hibernate.properties
The hibernate.properties file details the configurations used if opting for the Hibernate implementation of the simulation persistence manager.
Location: the application src/main/resources
Property | Value | Description |
---|---|---|
hibernate.hbm2ddl.auto | update | |
hibernate.connection.url | jdbc:h2:mem:submissions;DB_CLOSE_DELAY=-1;INIT=CREATE SCHEMA IF NOT EXISTS submissions | |
hibernate.connection.driver_class | org.h2.Driver | |
hibernate.dialect | org.hibernate.dialect.H2Dialect | |
hibernate.current_session_context_class | thread | |
hibernate.default_schema | submissions | |
hibernate.show_sql | false | |
hibernate.format_sql | false | |
defaultAutoCommit | false | |
jdbcInterceptors | org.apache.tomcat.jdbc.pool.interceptor.ConnectionState | |
maxAge | 60000 | |
maxActive | 25 | |
maxIdle | 50 | |
jakarta.persistence.create-database-schemas | true |