summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Winkler2008-11-26 03:49:13 (EST)
committerStefan Winkler2008-11-26 03:49:13 (EST)
commit51f41266603256adb255159b48afd384203cfa5c (patch)
treeb85af728933989cfda57cc5eb52e95a22d3d3f19
parenta366f575189ee498695c113b0b03cd1a03bfdcbd (diff)
downloadcdo-51f41266603256adb255159b48afd384203cfa5c.zip
cdo-51f41266603256adb255159b48afd384203cfa5c.tar.gz
cdo-51f41266603256adb255159b48afd384203cfa5c.tar.bz2
[256462]
null parameter problem in derby. Temporary switch back to standard JDBC delegate.
-rw-r--r--features/org.eclipse.emf.cdo.server.product-feature/rootfiles/configuration/cdo-server.xml7
1 files changed, 4 insertions, 3 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 04bb572..209ae18 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
@@ -21,9 +21,10 @@
<property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
</mappingStrategy>
+ <jdbcDelegate type="statement" />
<!-- Old setting <jdbcDelegate type="statement" />
- is now replaced by preparedStatement: -->
- <jdbcDelegate type="preparedStatement" >
+ 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" />
@@ -32,7 +33,7 @@
Which guesses the correct setting based on the JDBC driver's metadata.
Also supported is the third setting "disabled".
-->
- </jdbcDelegate>
+ <!-- </jdbcDelegate> -->
<dbAdapter name="derby-embedded"/>
<dataSource class="org.apache.derby.jdbc.EmbeddedDataSource"
databaseName="/temp/cdodb1"