Skip to main content

Notice: This Wiki is now read only and edits are no longer 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 Server Configuration"

Line 4: Line 4:
 
   04    <acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
 
   04    <acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
 
   05      <font color="green">''&lt;!--''</font>
 
   05      <font color="green">''&lt;!--''</font>
   06      <negotiator type="challenge" description="/temp/users.db"/>  
+
   06      <font color="green">''<negotiator type="challenge" description="/temp/users.db"/> ''</font>
   07      --&gt;
+
   07      <font color="green">''--&gt;''</font>
 
   08    </acceptor>
 
   08    </acceptor>
 
   09   
 
   09   
Line 17: Line 17:
 
   17       
 
   17       
 
   18      <store type="db">
 
   18      <store type="db">
   19        &lt;!-- mode: OFF | EXPRESS | NORMAL | GUARANTEED --&gt;
+
   19        <font color="green">''&lt;!-- mode: OFF | EXPRESS | NORMAL | GUARANTEED --&gt;''</font>
 
   20        <invalidationStrategy mode="EXPRESS"/>
 
   20        <invalidationStrategy mode="EXPRESS"/>
 
   21         
 
   21         
   22        &lt;!-- type: horizontal | vertical | <any user-contributed type> --&gt;
+
   22        <font color="green">''&lt;!-- type: horizontal | vertical | <any user-contributed type> --&gt;
 
   23        <mappingStrategy type="horizontal">
 
   23        <mappingStrategy type="horizontal">
   24          &lt;!-- ONE_TABLE_PER_REFERENCE | ONE_TABLE_PER_CLASS | ONE_TABLE_PER_PACKAGE | ONE_TABLE_PER_REPOSITORY | LIKE_ATTRIBUTES --&gt;
+
   24          <font color="green">''&lt;!-- ONE_TABLE_PER_REFERENCE | ONE_TABLE_PER_CLASS | ONE_TABLE_PER_PACKAGE | ONE_TABLE_PER_REPOSITORY | LIKE_ATTRIBUTES --&gt;''</font>
 
   25          <property name="toManyReferences" value="ONE_TABLE_PER_REFERENCE"/>
 
   25          <property name="toManyReferences" value="ONE_TABLE_PER_REFERENCE"/>
 
   26   
 
   26   
   27          &lt;!-- LIKE_ATTRIBUTES | LIKE_TO_MANY_REFERENCES --&gt;
+
   27          <font color="green">''&lt;!-- LIKE_ATTRIBUTES | LIKE_TO_MANY_REFERENCES --&gt;
 
   28          <property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
 
   28          <property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
 
   29           
 
   29           
   30          &lt;!-- MODEL | STRATEGY --&gt;
+
   30          <font color="green">''&lt;!-- MODEL | STRATEGY --&gt;
 
   31          <property name="mappingPrecedence" value="MODEL"/>
 
   31          <property name="mappingPrecedence" value="MODEL"/>
 
   32        </mappingStrategy>
 
   32        </mappingStrategy>
 
   33         
 
   33         
   34        &lt;!--<dbAdapter name="derby"/>
+
   34        <font color="green">''&lt;!--<dbAdapter name="derby"/>''</font>
   35        <dataSource  
+
   35        <font color="green">''<dataSource''</font>
   36          driverClass="org.apache.derby.jdbc.EmbeddedDataSource"  
+
   36          <font color="green">''driverClass="org.apache.derby.jdbc.EmbeddedDataSource"''</font>
   37          databaseName="/temp/cdodb1"
+
   37          <font color="green">''databaseName="/temp/cdodb1"''</font>
   38          createDatabase="create"/>--&gt;
+
   38          <font color="green">''createDatabase="create"/>--&gt;''</font>
 
   39   
 
   39   
 
   40        <dbAdapter name="derby"/>
 
   40        <dbAdapter name="derby"/>
Line 44: Line 44:
 
   44          createDatabase="create"/>
 
   44          createDatabase="create"/>
 
   45   
 
   45   
   46        &lt;!--<dbAdapter name="hsqldb"/>
+
   46        <font color="green">''&lt;!--<dbAdapter name="hsqldb"/>''</font>
   47        <dataSource  
+
   47        <font color="green">''<dataSource''</font>
   48          driverClass="org.eclipse.net4j.db.hsqldb.HSQLDBDataSource"  
+
   48          <font color="green">''driverClass="org.eclipse.net4j.db.hsqldb.HSQLDBDataSource"''</font>
   49          database="jdbc:hsqldb:mem:cdodb1"
+
   49          <font color="green">''database="jdbc:hsqldb:mem:cdodb1"''</font>
   50          user="sa"/>--&gt;
+
   50          <font color="green">''user="sa"/>--&gt;''</font>
 
   51   
 
   51   
   52        &lt;!--<dbAdapter name="mysql"/>
+
   52        <font color="green">''&lt;!--<dbAdapter name="mysql"/>''</font>
   53        <dataSource  
+
   53        <font color="green">''<dataSource''</font>
   54          driverClass="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"  
+
   54          <font color="green">''driverClass="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"''</font>
   55          url="jdbc:mysql://localhost/cdodb1"
+
   55          <font color="green">''url="jdbc:mysql://localhost/cdodb1"''</font>
   56          user="sa"/>--&gt;
+
   56          <font color="green">''user="sa"/>--&gt;''</font>
 
   57      </store>
 
   57      </store>
 
   58    </repository>
 
   58    </repository>

Revision as of 07:52, 14 November 2007

 01  <?xml version="1.0" encoding="UTF-8"?>
 02  <cdoServer>
 03  
 04    <acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
 05      <!--
 06      <negotiator type="challenge" description="/temp/users.db"/> 
 07      -->
 08    </acceptor>
 09  
 10    <repository name="repo1">
 11      <property name="overrideUUID" value="1ff5d226-b1f0-40fb-aba2-0c31b38c764f"/>
 12      <property name="supportingAudits" value="true"/>
 13      <property name="verifyingRevisions" value="false"/>
 14      <property name="rememberingKnownTypes" value="false"/>
 15      <property name="currentLRUCapacity" value="10000"/>
 16      <property name="revisedLRUCapacity" value="100"/>
 17      
 18      <store type="db">
 19        <!-- mode: OFF | EXPRESS | NORMAL | GUARANTEED -->
 20        <invalidationStrategy mode="EXPRESS"/>
 21        
 22        <!-- type: horizontal | vertical | <any user-contributed type> -->
 23        <mappingStrategy type="horizontal">
 24          <!-- ONE_TABLE_PER_REFERENCE | ONE_TABLE_PER_CLASS | ONE_TABLE_PER_PACKAGE | ONE_TABLE_PER_REPOSITORY | LIKE_ATTRIBUTES -->
 25          <property name="toManyReferences" value="ONE_TABLE_PER_REFERENCE"/>
 26  
 27          <!-- LIKE_ATTRIBUTES | LIKE_TO_MANY_REFERENCES -->
 28          <property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
 29          
 30          <!-- MODEL | STRATEGY -->
 31          <property name="mappingPrecedence" value="MODEL"/>
 32        </mappingStrategy>
 33        
 34        <!--<dbAdapter name="derby"/>
 35        <dataSource
 36          driverClass="org.apache.derby.jdbc.EmbeddedDataSource"
 37          databaseName="/temp/cdodb1"
 38          createDatabase="create"/>-->
 39  
 40        <dbAdapter name="derby"/>
 41        <dataSource 
 42          driverClass="org.apache.derby.jdbc.ClientDataSource" 
 43          databaseName="cdodb1"
 44          createDatabase="create"/>
 45  
 46        <!--<dbAdapter name="hsqldb"/>
 47        <dataSource
 48          driverClass="org.eclipse.net4j.db.hsqldb.HSQLDBDataSource"
 49          database="jdbc:hsqldb:mem:cdodb1"
 50          user="sa"/>-->
 51  
 52        <!--<dbAdapter name="mysql"/>
 53        <dataSource
 54          driverClass="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
 55          url="jdbc:mysql://localhost/cdodb1"
 56          user="sa"/>-->
 57      </store>
 58    </repository>
 59  
 60  </cdoServer>




Wikis: CDO | Net4j | EMF | Eclipse

Back to the top