type操作

vxbzzdmp  于 2021-06-10  发布在  Redis
关注(0)|答案(1)|浏览(464)

我已经升级了我的电脑 Redisson 图书馆到 3.13.2 (来自 3.11.1 )从那以后我就一直 WRONGTYPE Operation against a key holding the wrong kind of value 我一表演 liveObjectService.persist(reporterObject) .
我有以下课程:

@Getter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
@REntity
public class ReporterObject {
    @RId
    private long id;
    private long rId;
    @RIndex
    @Setter
    private long sId;
    @Setter
    private boolean ac;
    @RIndex
    @Setter
    private Long parId;
    private int type;
    private Long pId;
    @Setter
    private ReporterObject parent; // can be null
    @Setter
    private int n_a = 0;
}

那会有什么问题呢?
谢谢

643ylb08

643ylb081#

正如@nikitakoksharov所说的,刷新缓存可以达到目的。

相关问题