Short answer:
no, it will not update both
Foreign objects are not proxy objects, so ORMLite cannot determine if a sub-object has been modified and needs to be updated. Therefore, if you change the Parent and ChildA , you will need to do something like:
childADao.update(parent.a); parentDao.update(parent);
Obviously, if you set the new ChildA child to the parent, it will update this new identifier in the parent table.
source share