Jpa Entity Column Map을 Json 타입으로 컨버팅하여 넣기
@TypeDef(name = "json", typeClass = JsonType::class) // Entity class 상단에 설정
@Type(type = "json") // column 설정
참고사이트
https://blog.leocat.kr/notes/2020/09/01/hibernate-mapping-json-type-to-java-map
'JPA' 카테고리의 다른 글
Jpa Mysql column 자료형 (0) | 2020.11.05 |
---|