[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/loader ...

Mircea Markus mircea.markus at gmail.com
Tue Feb 20 07:08:53 EST 2007


  User: mmarkus 
  Date: 07/02/20 07:08:53

  Modified:    tests/functional/org/jboss/cache/loader 
                        JDBCCacheLoaderDerbyDSTest.java
  Log:
  added SQL concat initialization property for jdbc cache loader
  
  Revision  Changes    Path
  1.5       +3 -2      JBossCache/tests/functional/org/jboss/cache/loader/JDBCCacheLoaderDerbyDSTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: JDBCCacheLoaderDerbyDSTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/JDBCCacheLoaderDerbyDSTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- JDBCCacheLoaderDerbyDSTest.java	25 Oct 2006 04:50:19 -0000	1.4
  +++ JDBCCacheLoaderDerbyDSTest.java	20 Feb 2007 12:08:53 -0000	1.5
  @@ -27,7 +27,7 @@
    * must be in the lib directory for this test to run successfuly
    *
    * @author <a href="hmesha at novell.com">Hany Mesha</a>
  - * @version <tt>$Revision: 1.4 $</tt>
  + * @version <tt>$Revision: 1.5 $</tt>
    */
   public class JDBCCacheLoaderDerbyDSTest
           extends CacheLoaderTestsBase
  @@ -73,7 +73,8 @@
   
   
         String props = "cache.jdbc.datasource =" + JNDI_NAME + "\n" +
  -              "cache.jdbc.node.type=" + prop.getProperty("cache.jdbc.node.type");
  +              "cache.jdbc.node.type=" + prop.getProperty("cache.jdbc.node.type") + "\n" +
  +              "cache.jdbc.sql-concat= 1 || 2";
   
   
         cache.getConfiguration().setCacheLoaderConfig(getSingleCacheLoaderConfig("", "org.jboss.cache.loader.JDBCCacheLoader", props, false, true, false));
  
  
  



More information about the jboss-cvs-commits mailing list