I have the following issue with the database in my project, and I have no idea what is causing it:
There is the following class hierarchy:
Class A - has an embedded instance of class B Class B - has 2 embedded instances of class C (I renamed the fields of one of them). Class C - has only simple fields.
I know that when you fetch an object from the db using the persistence manager, some fields can be fetched lazily and so I must access them with getters. I already do that and it works for all other cases. In this case however, when I fetch class A, class B is fetched correctly but class C - both of his instances in class B - are null, and they remain null even if I try to access them while the persistence manager is still open. Also if I add simple fields to B they also seem to turn into nulls. This leads me to believe that those instances are simply not saved.
What's wrong here? I am really lost.