@Entity
public class AgendaEntity {
@Id public long id;
private Map unitMap;
public Map getUnitMap() {
return unitMap;
}
public void setUnitMap(Map unitMap) {
this.unitMap = unitMap;
}
}
导致以下错误:-
error: [ObjectBox] Field type "java.util.Map" is not supported. Consider making the target an @Entity, or using @Convert or @Transient on the field (see docs).