Here an example of my problem:
I have an entity called "Person" (Name: String. CityId: Integer) I have a relation between "Person" and "City", named "toCity". I use to add the "CityId" field in the ObjEntity definition (using the Cayenen Editor) because I need it for other purpose (I need to generate both the methods person.setCityId() and the person.setToCity())
But sometimes (not always) when I fetch a Person entity, I get a NULL value for the CityId field (even if is valued), while the relationship "toCity" is fetched correctly.
So:
person.getCityId() returns NULL while person.toCity().getCityId() is valued
Where I'm wrong ?