私はGoogle App Engineを初めて使用し、いくつかの問題を見つけています。
これらの 1 つは、組み込みクラスのスキーマの変更に関連しています。
次のようなエンティティがありExam
ます。
@Entity public class Exam{
@Id public Long id;
...
public List<PairingPopulationSet> pairing_population_data = new ArrayList<PairingPopulationSet>();
}
PairingPopulationSet
から変更されました:
@Embed public class PairingPopulationSet {
public Long examiner_id;
public String examiner_name;
public Integer percentage;
}
に
@Embed public class PairingPopulationSet {
public Integer paper;
public Long examiner_1_id;
public String examiner_1_name;
public Long examiner_2_id;
public String examiner_2_name;
public Integer percentage;
}
バックエンドでデータ ストアを表示すると、 values percentage
、および and の列examiner_name
(examiner_id
存在しなくなったフィールド) のみが表示されます。
更新が必要なキャッシュはどこかにありますか? データベース全体を消去し、クリーン ビルドを実行してから再実行しようとしましたが、問題は解決しません。GAE はどこからスキーマを取得しますか?
ありがとう