The CDO MongoDB store is an implementation of a CDO Store that allows to store models and meta models to MongoDB databases.
The current implementation supports all CDO 4.0 features with the following exceptions:
- NoExternalReferences (hence no meta references)
- NoQueryXRefs (hence no ensureReferentialIntegrity)
- NoRawAccess (hence no offline support)
This document will help users setup their environment and configure CDO to work with MongoDB.
C:\Users\Stepper\Desktop\MongoDB\bin\mongod.exe --dbpath "C:\develop\ws\cdo\_database" --noauth --rest
The MongoDB driver bundle that is shipped with CDO is not identical to the one that is originally distributed via mongodb.com. The UTF-8 conversion class had to be replaced by a version that uses the JRE mechanism to fulfill the legal requirements of the Eclipse Foundation. Performance degradation or misbehaviour may result. It is highly recommended that you download and deploy the original version of the MongoDB driver via MongoDB Java Language Center.
type identifier of the store configuration is
<store type="mongodb"> <property name="uri" value="mongodb://localhost"/> <property name="db" value="specificDB"/> <property name="drop" value="false"/> </store>
"db" property is optional. If omitted, the repository name is used as MongoDB database name.
"drop" property is optional. If the value is
"true" the MongoDB database is dropped before the store is activated.