Код: Выделить всё
Could not obtain connection to query metadata.
java.lang.NullPointerException: Cannot invoke "org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(java.sql.SQLException, String)" because the return value of "org.hibernate.resource.transaction.backend.jdbc.internal.JdbcIsolationDelegate.sqlExceptionHelper()" is null
org.hibernate.HibernateException: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided)
Код: Выделить всё
spring.datasource.url= jdbc:postgresql://localhost:5432/db-name
spring.datasource.username=postgres-user
spring.datasource.password=password
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
Код: Выделить всё
(PostgreSQL) 14.12 (Ubuntu 14.12-0ubuntu0.22.04.1).
Код: Выделить всё
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
Кто-то знает, почему возникли эти ошибки и как их исправить?
Однако на ошибку это не повлияло.
Кто-то знает, почему возникли эти ошибки и как это исправить?
п>
Подробнее здесь: https://stackoverflow.com/questions/786 ... some-hiber