android - How do you update a foreign field in Ormlite? -


i tried update(object), update(preparedupdate), executeraw(string), updateraw(string), , tried directly using helper class using getdata(string query). table's foreign field still not updated. thoughts why happening?

i found out using method update(object) on other methods while passing outdated instance of object trying update. once use actual update(preparedupdate) method, reverting object original state other method using update(outdated object)


Comments