TAMULib / mod-workflow

Apache License 2.0
0 stars 0 forks source link

Error on start because hibernate.dialect is not set. #122

Open kaladay opened 10 months ago

kaladay commented 10 months ago

When running locally using mvn clean spring-boot:run against a postgresql server an error like the following appears:

Connection cannot be null when 'hibernate.dialect' not set

Adding this to the application.yml fixed the problem:

spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect

This should probably be in the application.yml by default.

This potentially could also be the cause of the problem described here: