updating nested class in ormlite android
In ormlite if i say
public class Parent {
@DatabaseField(foreign = true, foreignAutoCreate = true, canBeNull =
true, foreignAutoRefresh = true)
Child a = null;
}
Its autocreating and also while retrieving data it gets the child's value
also like wise is there anything for update.
example if
parent.getChild().setName("aaa");
parent.update(p);
will it update the child's value too..
No comments:
Post a Comment