그 카산드라 유형 인에 frozen<map<text, list<text>>>
카산드라 + 스프링 나는 스프링 데이터 카산드라를 사용하여 JPA를 사용하여 필드를 매핑 할 필요가있어 데이터
테이블 스크립트를
create table IF NOT EXISTS test (
id varchar,
name varchar,
target frozen<map<text, list<text>>>,
primary key (id, name)
);
나는 이런 식으로 뭔가 만들어 :
@Column("target")
@CassandraType(type = DataType.Name.MAP, typeArguments = arrayOf(DataType.Name.MAP))
Map<String, List<String>> target;
을 있지만 오류 얻을 :
Codec not found for requested operation: [list <-> java.util.List]; nested exception is
com.datastax.driver.core.exceptions.CodecNotFoundException:
Codec not found for requested operation: [list <-> java.util.List]
귀하의 질문에 당신이 실제로 요구하는지 명확하게 개선하세요? – mp911de