You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by br...@apache.org on 2003/08/17 11:09:08 UTC

cvs commit: db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess AnonymousPersistentFieldForInheritance.java

brj         2003/08/17 02:09:08

  Modified:    src/java/org/apache/ojb/broker/metadata
                        AnonymousObjectReferenceDescriptor.java
               src/java/org/apache/ojb/broker/metadata/fieldaccess
                        AnonymousPersistentFieldForInheritance.java
  Log:
  pass the name of the objectreference ('super') to the anonymous field so
  it can be used in queries
  
  Revision  Changes    Path
  1.4       +2 -2      db-ojb/src/java/org/apache/ojb/broker/metadata/AnonymousObjectReferenceDescriptor.java
  
  Index: AnonymousObjectReferenceDescriptor.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/AnonymousObjectReferenceDescriptor.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AnonymousObjectReferenceDescriptor.java	21 Jun 2003 12:42:16 -0000	1.3
  +++ AnonymousObjectReferenceDescriptor.java	17 Aug 2003 09:09:08 -0000	1.4
  @@ -17,7 +17,7 @@
   
   	public void setPersistentField(Class c, String fieldname)
       {
  -        m_PersistentField = new AnonymousPersistentFieldForInheritance(m_ClassDescriptor);
  +        m_PersistentField = new AnonymousPersistentFieldForInheritance(m_ClassDescriptor, fieldname);
       }
   }
   
  
  
  
  1.5       +3 -3      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/AnonymousPersistentFieldForInheritance.java
  
  Index: AnonymousPersistentFieldForInheritance.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/AnonymousPersistentFieldForInheritance.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AnonymousPersistentFieldForInheritance.java	21 Jun 2003 12:43:50 -0000	1.4
  +++ AnonymousPersistentFieldForInheritance.java	17 Aug 2003 09:09:08 -0000	1.5
  @@ -67,9 +67,9 @@
   {
       ClassDescriptor cld = null;
   
  -    public AnonymousPersistentFieldForInheritance(ClassDescriptor cld)
  +    public AnonymousPersistentFieldForInheritance(ClassDescriptor cld, String fieldname)
       {
  -        super(null);
  +        super(fieldname);
           this.cld = cld;
       }
   
  
  
  

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