我已经升级了我的电脑 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;
}
那会有什么问题呢?
谢谢
1条答案
按热度按时间643ylb081#
正如@nikitakoksharov所说的,刷新缓存可以达到目的。