Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-08-01 18:58:27 +0000
committerEike Stepper2008-08-01 18:58:27 +0000
commitf6d1c8a5d523f48f36ea9a1b17bf7eccedbab69c (patch)
treea349b166cbbf01956dd5f58b33b0f5e24e40779e
parent85ebd50afd4ce1c328fd582767f11fc14aa5bf33 (diff)
downloadcdo-f6d1c8a5d523f48f36ea9a1b17bf7eccedbab69c.tar.gz
cdo-f6d1c8a5d523f48f36ea9a1b17bf7eccedbab69c.tar.xz
cdo-f6d1c8a5d523f48f36ea9a1b17bf7eccedbab69c.zip
[242349] Net4J PostgreSQL DBAdapter
https://bugs.eclipse.org/bugs/show_bug.cgi?id=242349
-rw-r--r--features/org.eclipse.emf.cdo.server.product-feature/rootfiles/configuration/cdo-server.xml80
1 files changed, 44 insertions, 36 deletions
diff --git a/features/org.eclipse.emf.cdo.server.product-feature/rootfiles/configuration/cdo-server.xml b/features/org.eclipse.emf.cdo.server.product-feature/rootfiles/configuration/cdo-server.xml
index 3594417415..156924a9d3 100644
--- a/features/org.eclipse.emf.cdo.server.product-feature/rootfiles/configuration/cdo-server.xml
+++ b/features/org.eclipse.emf.cdo.server.product-feature/rootfiles/configuration/cdo-server.xml
@@ -1,39 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<cdoServer>
-
- <!--acceptor type="http"/ -->
-
- <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="currentLRUCapacity" value="10000"/>
- <property name="revisedLRUCapacity" value="100"/>
-
- <store type="db">
- <mappingStrategy type="horizontal">
- <property name="toManyReferences" value="ONE_TABLE_PER_REFERENCE"/>
- <property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
- </mappingStrategy>
-
- <dbAdapter name="derby-embedded"/>
- <dataSource class="org.apache.derby.jdbc.EmbeddedDataSource" databaseName="/temp/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>
-
+
+ <!--acceptor type="http"/ -->
+
+ <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="currentLRUCapacity" value="10000"/>
+ <property name="revisedLRUCapacity" value="100"/>
+
+ <store type="db">
+ <mappingStrategy type="horizontal">
+ <property name="toManyReferences" value="ONE_TABLE_PER_REFERENCE"/>
+ <property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
+ </mappingStrategy>
+
+ <dbAdapter name="derby-embedded"/>
+ <dataSource class="org.apache.derby.jdbc.EmbeddedDataSource"
+ databaseName="/temp/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"/>-->
+
+ <!--<dbAdapter name="postgresql"/>
+ <dataSource class="org.postgresql.ds.PGSimpleDataSource"
+ url="jdbc:postgresql://localhost:5432/cdo"
+ databaseName="cdo"
+ user="cdo"
+ password="cdo"/>-->
+ </store>
+ </repository>
+
</cdoServer> \ No newline at end of file

Back to the top