Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kaladay opened this issue Dec 5, 2023 · 0 comments
Open

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

kaladay opened this issue Dec 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@kaladay
Copy link

kaladay commented Dec 5, 2023

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:

@kaladay kaladay added the bug Something isn't working label Dec 5, 2023
@kaladay kaladay changed the title Connection cannot be null when 'hibernate.dialect' not set. Error on start because hibernate.dialect is not set. Dec 5, 2023
rmathew1011 pushed a commit that referenced this issue Nov 12, 2024
MODWRKFLOW-34: Mod Workflow should support kafka messaging instead of active mq.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant