0

私が言うならオームライトで

  public class Parent {

   @DatabaseField(foreign = true, foreignAutoCreate = true, canBeNull = true, foreignAutoRefresh = true)
    Child a = null;
          }

その自動作成と、データの取得中に子の値を取得することも、同様に更新するものがあります。

       example if 
         parent.getChild().setName("aaa");     
         parent.update(p);

子の値も更新しますか..

4

0 に答える 0