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

Emmanuel Bernard emmanuel at hibernate.org
Wed Apr 25 06:02:04 EDT 2012


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

> And regarding the documentation http://www.mongodb.org/display/DOCS/Database+References#DatabaseReferences-DBRef
> it could be an idea :)

From what I understand of DBRefs, they bring no value to us in the OGM context. They can even be slower (one extra indirection) if we don't map our id to _id. I don't think we should make use of them.


More information about the hibernate-dev mailing list