[hibernate-dev] [OGM] Mapping associations in MongoDB

Emmanuel Bernard emmanuel at hibernate.org
Wed Apr 25 06:03:20 EDT 2012


On 25 avr. 2012, at 10:05, Guillaume SCHEIBEL wrote:

> At the very beginning, I thought to manage association like this:
> Case of @OneTo* associations could be managed like embeddeds (for me it makes sens and close to the mongo way)
> Case of @ManyTo* associations could be managed in a usual way (association collections, etc.)

i believe you mean the other way around. Respectively @*ToOne and @*ToMany


More information about the hibernate-dev mailing list