Configurations

Supported Databases

  • HSQL
  • PostgreSQL 9.4 or above

Database Configuration

The following are supported list of configuration via environment variables.

Property Default (HSQL in Memory) PostgreSQL
DB_DRIVER org.hsqldb.jdbcDriver org.postgresql.Driver
DB_USERNAME sa <USER_INPUT>
DB_PASSWORD <USER_INPUT>
DB_URL jdbc:hsqldb:mem:test;sql.syntax_pgs=true jdbc:postgresql://<DB_SERVER>/<DB_NAME>
DB_DIALECT io.budgetapp.hibernate.dialect.CustomHSQLDialect io.budgetapp.hibernate.dialect.CustomPostgreSQLDialect
DB_VALIDATE_QUERY SELECT 1 SELECT 1