Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- setParameter
- NamedParameterNotBound
- 디자인패턴
- 10844
- 전치행렬 #C
- 자바
- 데코레이터패턴
- Spring
- pscp
- BubbleSorting
- gradle
- 숫자야구
- createQuery
- decorator
- C
- java
- mycp
- 자료구조
- Linux
- junit
- 쉬운 계단 수
- @ModelAttribute
- 점세개
- 여러인수
- @NotEmpty
- 백준
- springboot
- 10951
- designpattern
- @Spring
Archives
- Today
- Total
...
[Spring/JPA/MySql] org.h2.jdbc.jdbcsqlsyntaxerrorexception 에러 해결........ 본문
이것저것/오류 해결
[Spring/JPA/MySql] org.h2.jdbc.jdbcsqlsyntaxerrorexception 에러 해결........
gi2 2022. 5. 25. 17:57스프링에서 h2 연결하고 테이블 생성할 때 자꾸 org.h2.jdbc.jdbcsqlsyntaxerrorexception 에러가 떴다.
expeceted indentifier; 라는 오류문구가 계속 뜨길래 @id 문제인 줄 알고 계속 수정했는데
내가 사용한 클래스 이름이 문제였다... user...
user가 db 예약어라서 안되었던 거였다............................................
세시간동안 개고생했는데 =ㅜ..................................................................................................................
예약어 예제 찾아보면서도 group, order 이런 건 예약어라 안되는 거 알고 있었는데
user가 예약어인지는 상상도 모댓다.....................................................................................................
이름 member로 바꾸니까 바로 실행 됨..................................

'이것저것 > 오류 해결' 카테고리의 다른 글
Comments