[jboss-cvs] JBossCache/etc ...
Mircea Markus
mircea.markus at gmail.com
Sat Feb 10 12:47:03 EST 2007
User: mmarkus
Date: 07/02/10 12:47:03
Modified: etc jdbcCacheLoader-service.xml cache-jdbc.properties
Log:
JDBCCaheLoader performance improvements. Also added benchmarks for comparisons and backward compatibility tests
Revision Changes Path
1.14 +1 -0 JBossCache/etc/jdbcCacheLoader-service.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: jdbcCacheLoader-service.xml
===================================================================
RCS file: /cvsroot/jboss/JBossCache/etc/jdbcCacheLoader-service.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- jdbcCacheLoader-service.xml 8 Feb 2007 14:52:43 -0000 1.13
+++ jdbcCacheLoader-service.xml 10 Feb 2007 17:47:03 -0000 1.14
@@ -156,6 +156,7 @@
cache.jdbc.url=jdbc:mysql://localhost:3306/jbossdb
cache.jdbc.user=root
cache.jdbc.password=
+ cache.jdbc.sql-concat=concat(1,2)
</properties>
<!-- whether the cache loader writes are asynchronous -->
<async>false</async>
1.9 +4 -0 JBossCache/etc/cache-jdbc.properties
(In the diff below, changes in quantity of whitespace are not shown.)
Index: cache-jdbc.properties
===================================================================
RCS file: /cvsroot/jboss/JBossCache/etc/cache-jdbc.properties,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- cache-jdbc.properties 21 Jan 2007 15:46:43 -0000 1.8
+++ cache-jdbc.properties 10 Feb 2007 17:47:03 -0000 1.9
@@ -9,6 +9,10 @@
cache.jdbc.node.column=node
cache.jdbc.node.type=blob
cache.jdbc.parent.column=parent
+# Specify your DBMS's string concatenation function syntax in the following manner: concat(1 , 2) -> '12'.
+# This syntax should work an most popular DBMS like oracle, db2, mssql, mysql, PostgreSQL. Derby - on which
+the tests are run does not support 'concat', but '1 || 2' . If no value is sepcified then concat(1 , 2) is used by default.
+cache.jdbc.sql-concat=1 || 2
# JBoss Cache Table properties for Hypersonic, just overrides
#cache.jdbc.node.type=OBJECT
More information about the jboss-cvs-commits
mailing list