Closed zpswz closed 3 hours ago
@ToMany(referencedJoinProperty = "p_fid") private List imageList;
p_fid type is string
error log Long cannot be converted to String List imageListNew = targetDao._queryDirectoryBean_ImageList(id);
The automatically generated code is queried directly with the id
The referencedJoinProperty needs to point to the @Id of the targeted entity. See https://greenrobot.org/greendao/documentation/relations/ for details and examples.
referencedJoinProperty
@Id
@ToMany(referencedJoinProperty = "p_fid") private List imageList;
p_fid type is string
error log Long cannot be converted to String List imageListNew = targetDao._queryDirectoryBean_ImageList(id);
The automatically generated code is queried directly with the id