BZ-1066626 - Data model oracle ignores fields, when the fields are objects from another package

(cherry picked from commit 82633fd188834a07d416e1b361a05bc36cc701a8)