Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2009-04-26 06:12:24 +0000
committerEike Stepper2009-04-26 06:12:24 +0000
commitb898b516f440dfb743e7ec4c4fbccd2efcbe2e90 (patch)
tree386f47144f7b0511429557149f02cc20898b7d38 /features
parent5ea76a85f410515036ec30c7125d2831750742e2 (diff)
downloadcdo-b898b516f440dfb743e7ec4c4fbccd2efcbe2e90.tar.gz
cdo-b898b516f440dfb743e7ec4c4fbccd2efcbe2e90.tar.xz
cdo-b898b516f440dfb743e7ec4c4fbccd2efcbe2e90.zip
[271444] [DB] Multiple refactorings
https://bugs.eclipse.org/bugs/show_bug.cgi?id=271444
Diffstat (limited to 'features')
-rw-r--r--features/org.eclipse.emf.cdo.server.product-feature/rootfiles/configuration/cdo-server.xml38
1 files changed, 18 insertions, 20 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 3511572e8f..7cde0d1348 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,10 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<cdoServer>
- <!--acceptor type="http"/ -->
+ <!--
+ <acceptor type="http"/>
+ -->
<acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
- <!-- negotiator type="challenge" description="/temp/users.db"/ -->
+ <!--
+ <negotiator type="challenge" description="/temp/users.db"/>
+ -->
</acceptor>
<repository name="repo1">
@@ -21,39 +25,33 @@
<property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
</mappingStrategy>
- <!-- Old setting <jdbcDelegate type="statement" />
- is now replaced by preparedStatement: -->
- <jdbcDelegate type="preparedStatement" >
- <!-- to explicitly force prepared statement caching (e.g., if statement pooling is not supported
- by the JDBC driver, use
- <property name="cacheStatements" value="enabled" />
- Else, the implicit default is:
- <property name="cacheStatements" value="guess" />
- Which guesses the correct setting based on the JDBC driver's metadata.
- Also supported is the third setting "disabled".
- -->
- </jdbcDelegate>
<dbAdapter name="derby-embedded"/>
<dataSource class="org.apache.derby.jdbc.EmbeddedDataSource"
databaseName="/temp/cdodb1"
createDatabase="create"/>
- <!--<dbAdapter name="hsqldb"/>
+ <!--
+ <dbAdapter name="hsqldb"/>
<dataSource class="org.eclipse.net4j.db.hsqldb.HSQLDBDataSource"
database="jdbc:hsqldb:mem:cdodb1"
- user="sa"/>-->
+ user="sa"/>
+ -->
- <!--<dbAdapter name="mysql"/>
+ <!--
+ <dbAdapter name="mysql"/>
<dataSource class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
url="jdbc:mysql://localhost/cdodb1"
- user="sa"/>-->
+ user="sa"/>
+ -->
- <!--<dbAdapter name="postgresql"/>
+ <!--
+ <dbAdapter name="postgresql"/>
<dataSource class="org.postgresql.ds.PGSimpleDataSource"
url="jdbc:postgresql://localhost:5432/cdo"
databaseName="cdo"
user="cdo"
- password="cdo"/>-->
+ password="cdo"/>
+ -->
</store>
</repository>

Back to the top