Today, I committed a set of changes to the fenix-framework that dropped
the support for the old idInternal-based foreign-keys.
Now, only OIDs are used (even though the idInternal is still used).
This means that if you upgrade to the latest version of the
fenix-framework, you should make sure that your existing database has
all the OIDs up-to-date (they've been written for some time now, but if
your database precedes that, then you may have still some rows in the
database that have idInternal-based foreign keys but no OIDs yet).
You may check the consistency of the foreign keys with the
pt.ist.fenixframework.pstm.repository.CheckOids class.
Note, also, that the old "KEY_*" DB columns corresponding to foreign
keys will be left in the database, but their value will not be updated.
So, they may (and should) be removed from the DB.
Best regards,
--
João Cachopo