Open
Description
Hi, I'm following your course and I noticed that I got a lot of 'relation does not exist' errors.
This is because of the application.properties file. You entered the wrong dialect.
It currently is:
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
which has been deprecated.
while it should be:
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL95Dialect
(if you use the latest version).
See all dialects here, for more.
Steps to reproduce this error:
- Clone this project
- Switch to a branch which has relations in it (section-5 for example).
- Make sure you got the latest PostgreSQL (version 14 in my case)
- Run
Metadata
Assignees
Labels
No labels
Activity