Is there a Jongo equivalent to Morphia's @Reference annotation?

18 views
Skip to first unread message

Nav

unread,
Apr 28, 2017, 6:41:01 AM4/28/17
to Jongo
A colleague told me of how he uses

class Something {
  @Reference
  UserClass uc;
}

and is able to access the properties of UserClass directly from Something, because when Morphia loads the Something collection, it sees that UserClass is referenced, and it loads the data of UserClass too.

Is there an equivalent functionality in Jongo?
Reply all
Reply to author
Forward
0 new messages