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
'웹 개발 > Spring' 카테고리의 다른 글
[Spring] Spring Rest Docs (0) | 2022.03.27 |
---|---|
[Spring] JPA - 테이블 생성시 컬럼 순서 정렬 (0) | 2021.03.16 |
[Spring] JPA - @OneToOne 조인 전략을 left join -> inner join 으로 변경하기 (0) | 2021.03.12 |
[Spring] JPA - Could not write JSON: Infinite recursion (StackOverflowError) (0) | 2021.03.11 |
[Spring] Spring REST Docs 호스트 변경 (0) | 2021.03.04 |