Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

If H2 database is used, it is possible to use persistent type of H2 (embedded mode, not in-memory mode), but H2 database must be initialized correctly. Initialization of H2 is automatic if spring.datasource.initialize=true (default value in application-h2.properties) = DB script defined by spring.datasource.data parameter is executed (classpath:/db/db_init-configuration.sql in this case).

This setting is useful for running OpenHub for the first time but should be switched to false value for next runs. Otherwise unique constraint violation errors occur.


There are many ways how OpenHub (generally Spring Boot application) can be started:

...