Skip to content

@Deprecated Dialect  #3

Open
Open
@florisgravendeel

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:

  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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions