Warninbg executing DDL Postgresql i Spring boot

0

Dostaje warning "GenerationTarget encountered exception accepting command : Error executing DDL "alter table users_roles drop constraint FKa62j07k5mhgifpp955h37ponj" via JDBC Statement" jak moge sobie z tym poradzić i co to jest ?

spring.datasource.url= jdbc:postgresql://localhost:5432/testdb
spring.datasource.username= postgres
spring.datasource.password= password
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation= true
spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.PostgreSQLDialect

# Hibernate ddl auto (create, create-drop, validate, update)
spring.jpa.hibernate.ddl-auto= create-drop
0

Hibernate, aby zdropować tabelę, najpierw musi usunąć constraint na klucz obcy (FK) i z jakichś niewyjaśnionych przyczyn mu się to nie udaje. Może masz jakieś egzotyczne mapowanie w swojej encji.

0

Już się udło miałe literówkę

1 użytkowników online, w tym zalogowanych: 0, gości: 1