[jboss-cvs] JBossCache/src/org/jboss/cache/loader ...

Manik Surtani msurtani at jboss.com
Tue Dec 19 21:16:24 EST 2006


  User: msurtani
  Date: 06/12/19 21:16:24

  Modified:    src/org/jboss/cache/loader  JDBCCacheLoader.java
  Log:
  fixed passivation and eviction bugs
  
  Revision  Changes    Path
  1.25      +7 -7      JBossCache/src/org/jboss/cache/loader/JDBCCacheLoader.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: JDBCCacheLoader.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/loader/JDBCCacheLoader.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -b -r1.24 -r1.25
  --- JDBCCacheLoader.java	20 Nov 2006 18:04:08 -0000	1.24
  +++ JDBCCacheLoader.java	20 Dec 2006 02:16:24 -0000	1.25
  @@ -79,7 +79,7 @@
    *
    * @author <a href="mailto:alex at jboss.org">Alexey Loubyansky</a>
    * @author <a href="mailto:hmesha at novell.com">Hany Mesha </a>
  - * @version <tt>$Revision: 1.24 $</tt>
  + * @version <tt>$Revision: 1.25 $</tt>
    */
   public class JDBCCacheLoader extends AbstractCacheLoader
   {
  @@ -774,10 +774,10 @@
            ps.setString(2, name.toString());
   
            int rows = ps.executeUpdate();
  -         if (rows != 1)
  -         {
  -            throw new IllegalStateException("Expected one updated row but got " + rows);
  -         }
  +//         if (rows != 1)
  +//         {
  +//            throw new IllegalStateException("Expected one updated row but got " + rows);
  +//         }
         }
         catch (Exception e)
         {
  
  
  



More information about the jboss-cvs-commits mailing list