db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/cache ObjectCacheTwoLevelImpl.java
Date Mon, 10 Oct 2005 00:26:05 GMT
arminw      2005/10/09 17:26:05

  Modified:    src/java/org/apache/ojb/broker/cache Tag: OJB_1_0_RELEASE
                        ObjectCacheTwoLevelImpl.java
  Log:
  fix, put all values into object cache map
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.14  +2 -2      db-ojb/src/java/org/apache/ojb/broker/cache/Attic/ObjectCacheTwoLevelImpl.java
  
  Index: ObjectCacheTwoLevelImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/cache/Attic/ObjectCacheTwoLevelImpl.java,v
  retrieving revision 1.1.2.13
  retrieving revision 1.1.2.14
  diff -u -r1.1.2.13 -r1.1.2.14
  --- ObjectCacheTwoLevelImpl.java	10 Oct 2005 00:01:11 -0000	1.1.2.13
  +++ ObjectCacheTwoLevelImpl.java	10 Oct 2005 00:26:04 -0000	1.1.2.14
  @@ -657,7 +657,7 @@
                   value = fld.getFieldConversion().javaToSql(value);
                   // copy the sql type
                   value = fld.getJdbcType().getFieldType().copy(value);
  -                if(value != null) target.put(fld.getPersistentField().getName(), value);
  +                target.put(fld.getPersistentField().getName(), value);
               }
               target.put(CLASS_NAME_STR, obj.getClass().getName());
               return target;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message