Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "CDO/MongoDB Store"

< CDO
(cdo-server.xml)
(cdo-server.xml)
Line 16: Line 16:
 
== cdo-server.xml ==
 
== cdo-server.xml ==
  
    <store type="mongodb">
+
  <store type="mongodb">
<property name="uri" value="mongodb://localhost"/>
+
    <property name="uri" value="mongodb://localhost"/>
<property name="db" value="specificDB"/>
+
    <property name="db" value="specificDB"/>
<property name="drop" value="false"/>
+
    <property name="drop" value="false"/>
    </store>
+
  </store>
  
  
 
----
 
----
 
Wikis: [[CDO]] | [[Net4j]] | [[EMF]] | [[Eclipse]]
 
Wikis: [[CDO]] | [[Net4j]] | [[EMF]] | [[Eclipse]]

Revision as of 15:44, 21 February 2011

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)
  • NoLargeObjects
  • NoFeatureMaps
  • NoHandleRevisions
  • NoRawAccess (hence no offline support)
  • NoBranching
  • NoCrashRecovery

This document will help users setup their environment and configure CDO to work with MongoDB.

cdo-server.xml

 <store type="mongodb">
   <property name="uri" value="mongodb://localhost"/>
   <property name="db" value="specificDB"/>
   <property name="drop" value="false"/>
 </store>



Wikis: CDO | Net4j | EMF | Eclipse

Copyright © Eclipse Foundation, Inc. All Rights Reserved.