Spring과 Mysql 연동 작업 중 발생한 에러. 원인은 매핑되는 필드끼리 타입이 달라 발생했다.
Spring의 Entity 에서는 Long id로 작성했었고, Mysql 에서는 varchar id로 서로 타입이 충돌나서 발생했었기에 서로 맞추는 작업으로 해결 완료
'에러사항 모음' 카테고리의 다른 글
Parameter value ["Value"] did not match expected type (0) | 2022.11.29 |
---|---|
query did not return a unique result (0) | 2022.11.28 |
Table 'DB명.hibernate_sequence' doesn't exist (0) | 2022.11.24 |
Unable to locate Attribute with the the given name [컬럼명] on this ManagedType (0) | 2022.11.24 |