java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax;

전주은·2023년 4월 17일
0

에러 분석

Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group varchar(255)

group이라는 글자가 예약어인듯하다!

해결방법

기존 member 엔티티 안에 있던 group컬럼이름을 team으로 변경학였다.

참고한 블로그(예약어 리스트)

https://ckdgus.tistory.com/82

0개의 댓글