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

(cherry picked from commit 2b3bb831a393e4ebcff59ad6de8ce3177ea2b0da)
BZ-1066626 - Data model oracle ignores fields, when the fields are objects from another package