【发布时间】:2020-11-07 03:00:52
【问题描述】:
从 AppEngine 低级 Datastore API 迁移到 objectify 5:读取 Entity 时出错。
我看到使用数据存储实体工具是因为旧数据将“Ifont”保留为“Blob”,应该成为“嵌入式类”
@Entity(name = "Mandant")
public class Mandant implements IsSerializable {
@Id
private Long id;
@Index
private String nr = "";
private Ifont fontHeader;
我们如何读取这个 Blob 数据?
【问题讨论】:
-
Ifont 类没有@Id
标签: java google-app-engine google-cloud-datastore objectify