ojb-dev@db.apache.org
[Top] [All Lists]

cvs commit: db-ojb/src/java/org/apache/ojb/broker/cache ObjectCacheTwoLe

Subject: cvs commit: db-ojb/src/java/org/apache/ojb/broker/cache ObjectCacheTwoLevelImpl.java
From:
Date: 10 Oct 2005 00:26:05 -0000
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@xxxxxxxxxxxxx
For additional commands, e-mail: ojb-dev-help@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • cvs commit: db-ojb/src/java/org/apache/ojb/broker/cache ObjectCacheTwoLevelImpl.java, arminw <=