Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 9a1979a88cbff1123ca50cf84a8af89bca55f1f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<cdoServer>

	<acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
		<!-- 
		<negotiator type="challenge" description="/temp/users.db"/> 
		-->
	</acceptor>

	<repository name="repo1">
		<property name="overrideUUID" value="1ff5d226-b1f0-40fb-aba2-0c31b38c764f"/>
		<property name="supportingAudits" value="true"/>
		<property name="verifyingRevisions" value="false"/>
		<property name="rememberingKnownTypes" value="false"/>
		<property name="currentLRUCapacity" value="10000"/>
		<property name="revisedLRUCapacity" value="100"/>
		
		<store type="db">
			<!-- type: horizontal | vertical | <any user-contributed type> -->
			<mappingStrategy type="horizontal">
				<!-- ONE_TABLE_PER_REFERENCE | ONE_TABLE_PER_CLASS | ONE_TABLE_PER_PACKAGE | ONE_TABLE_PER_REPOSITORY | LIKE_ATTRIBUTES -->
				<property name="toManyReferences" value="ONE_TABLE_PER_REFERENCE"/>

				<!-- LIKE_ATTRIBUTES | LIKE_TO_MANY_REFERENCES -->
				<property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
				
				<!-- MODEL | STRATEGY -->
				<property name="mappingPrecedence" value="MODEL"/>
			</mappingStrategy>
			
			<!--<dbAdapter name="derby"/>
			<dataSource class="org.apache.derby.jdbc.EmbeddedDataSource" 
				databaseName="/temp/cdodb1"
				createDatabase="create"/> -->

			<!--<dbAdapter name="derby"/>
			<dataSource class="org.apache.derby.jdbc.ClientDataSource" 
				databaseName="cdodb1"
				createDatabase="create"/>-->

			<dbAdapter name="hsqldb"/>
			<dataSource class="org.eclipse.net4j.db.hsqldb.HSQLDBDataSource" 
				database="jdbc:hsqldb:mem:cdodb1"
				user="sa"/>

			<!--<dbAdapter name="mysql"/>
			<dataSource class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource" 
				url="jdbc:mysql://localhost/cdodb1"
				user="sa"/>-->
		</store>
	</repository>

</cdoServer>

Back to the top