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/metadata DescriptorRepository.java
Date Sun, 28 Nov 2004 03:13:45 GMT
arminw      2004/11/27 19:13:45

  Modified:    src/java/org/apache/ojb/broker/metadata
                        DescriptorRepository.java
  Log:
  user patch
  
  Revision  Changes    Path
  1.57      +6 -3      db-ojb/src/java/org/apache/ojb/broker/metadata/DescriptorRepository.java
  
  Index: DescriptorRepository.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/DescriptorRepository.java,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- DescriptorRepository.java	14 Nov 2004 09:36:10 -0000	1.56
  +++ DescriptorRepository.java	28 Nov 2004 03:13:45 -0000	1.57
  @@ -168,8 +168,11 @@
                   else
                   {
                       // check if class is persistence capable
  -                    getDescriptorFor(clazz);
  -                    retval = clazz;
  +                    // +
  +                    // Adam Jenkins: use the class that is associated
  +                    // with the descriptor instead of the actual class
  +                    ClassDescriptor temp = getDescriptorFor(clazz);
  +                    retval = temp.getClassOfObject();
                   }
                   m_topLevelClassTable.put(clazz, retval);
               }
  
  
  

---------------------------------------------------------------------
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