Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: moved from archive to documentation space

Default (overridable) with runtime properties file

(found in /metadata/api/hibernate/hibernate.default.properties)

Panel
  1. Connection Properties -->
    hibernate.connection.username=test
    hibernate.connection.password=test
    hibernate.connection.driver_class=com.mysql.jdbc.Driver
    hibernate.connection.url=jdbc:mysql://localhost:3306/openmrs?autoReconnect=true
Panel
  1. Hibernate specific connection/debug properties
    hibernate.show_sql=false
    hibernate.format_sql=true
    hibernate.lazy=true
    hibernate.dialect=org.hibernate.dialect.MySQLDialect
Panel
  1. Hibernate specific connection pool properties
    hibernate.c3p0.max_size=10
    hibernate.c3p0.min_size=1
    hibernate.c3p0.timeout=100
    hibernate.c3p0.max_statements=100
    hibernate.c3p0.idle_test_period=300
    hibernate.c3p0.acquire_increment=2
Panel
  1. Hibernate debugging options
    hibernate.generate_statistics=false
    hibernate.cache.use_structured_entries=false