|
Appended a fix to PR https://github.com/hibernate/hibernate-ogm/pull/247. Properties are stored as actual document properties with this change, associations look as with the MongoDB backend now (global storage strategy).
Regarding ids, as it seems in CouchDB one can't have composite ids in the sense of actual (sub-)documents which themselves have several attributes. The _id field thus contains basically a concatenation if the id field values. Note that the fields making up the id are stored as actual document properties as well. While this is a bit redundant I think it still makes sense for querying purposes. Not sure whether there is a better scheme for this, I'd be happy about any ideas.
|