-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Foreign key null for @ToMany #592
Comments
Have you solve the problem? I have seen this today. |
No, did not find the solution for this |
If I understand this correctly, make sure to actually insert the entities your class A has a reference to. See the add new related entities part in Resolving and Updating To-Many Relations. |
No response. Closing. -ut |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have problem with foreign key in cascade data structures.
Let's say that we have Class A that has List of Class B;
If I export the DB from device I can observe that table B has column aId but all records have null value for this field, instead it needs to be populated with id of object A.
Also all id's are predefined(objects are created from JSON).
EDIT:
Also Class B has a filed
Please advice,
Thanks
The text was updated successfully, but these errors were encountered: