← Back to team overview

dhis2-devs-core team mailing list archive

dhis.conf

 

Hi devs,

a new solution for dhis configuration is in place and the conf file should
now be called:

*dhis.conf*

The db related properties are now:

connection.dialect = org.hibernate.dialect.PostgreSQLDialect
connection.driver_class = org.postgresql.Driver
connection.url = jdbc:postgresql:dhis2demo
connection.username = dhis
connection.password = dhis
connection.schema = update


This means we have db agnostic configuration instead of the hibernate
proprietary setup. The existing hibernate.properties conf filename and
hiberate.connection.. properties will be supported for another year to give
people time to upgrade.


>From Java code you can now get general config from interface:

DhisConfigurationProvider


Would be good if you could test it by updating your conf file in your local
environment.

Lars





-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org <https://www.dhis2.org>

Follow ups