Connection cannot be null when ‘hibernate.dialect’ not set

I had this error with JPA, then I just added this line to application.properties:

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

based on this post: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)