aboutsummaryrefslogtreecommitdiffstats
blob: b12a08ee6db23b3449889f5de4d0442d07224a3d (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
<?xml version="1.0" encoding="UTF-8"?>
<cdoServer>

	<acceptor type="tcp" listenAddr="0.0.0.0" port="2036"/>

	<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">
			<!-- mode: OFF | EXPRESS | NORMAL | GUARANTEED -->
			<invalidationStrategy mode="EXPRESS"/>
			
			<!-- 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>
			
			<!-- name: <any user-contributed DBAdapter name> -->
			<dbAdapter name="derby"/>
			
			<!-- <dataSource 
				driverClass="org.apache.derby.jdbc.EmbeddedDataSource" 
				databaseName="/temp/cdodb1"
				createDatabase="create"/> -->
			<dataSource 
				driverClass="org.apache.derby.jdbc.ClientDataSource" 
				databaseName="cdodb1"
				createDatabase="create"/>
		</store>
	</repository>

</cdoServer>