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

@Deprecated Dialect #3

Open
florisgravendeel opened this issue Dec 23, 2021 · 0 comments
Open

@Deprecated Dialect #3

florisgravendeel opened this issue Dec 23, 2021 · 0 comments

Comments

@florisgravendeel
Copy link

florisgravendeel commented Dec 23, 2021

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:

  1. Clone this project
  2. Switch to a branch which has relations in it (section-5 for example).
  3. Make sure you got the latest PostgreSQL (version 14 in my case)
  4. Run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant