웹 개발/Spring
[Spring] JPA - How to fix “Error executing DDL ”alter table events drop foreign key {foreign key} “ via JDBC Statement”
K1MY0UNGHAN
2021. 3. 12. 13:39
alter 명령어로 특정 테이블의 foreign key를 drop할 때 발생하는 에러이므로
에러가 발생하는 여러 경우가 있겠지만
이번에는 DDL에 RDBMS의 keyword가 포함되어 있는 경우였다.
RDBMS의 keyword란 MySQL의 state, PostgreSQL의 user와 같이 기능이 정의되어 있는 명령어를 말한다.
참고:
How to fix "Error executing DDL "alter table events drop foreign key FKg0mkvgsqn8584qoql6a2rxheq" via JDBC Statement"
I'm trying to start spring boot project with MySQL database, but I have some problem with database. I try to start my application that, and server is running but hibernate don't create Tables etc. ...
stackoverflow.com