Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Default (overridable) with runtime properties file

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

  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
  1. Hibernate specific connection/debug properties
    hibernate.show_sql=false
    hibernate.format_sql=true
    hibernate.lazy=true
    hibernate.dialect=org.hibernate.dialect.MySQLDialect
  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
  1. Hibernate debugging options
    hibernate.generate_statistics=false
    hibernate.cache.use_structured_entries=false
  • No labels