db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/metadata AnonymousObjectReferenceDescriptor.java
Date Fri, 29 Aug 2003 19:44:59 GMT
brj         2003/08/29 12:44:59

  Modified:    src/java/org/apache/ojb/broker/metadata
                        AnonymousObjectReferenceDescriptor.java
  Log:
  no field name for anonymous super reference
  
  Revision  Changes    Path
  1.5       +6 -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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AnonymousObjectReferenceDescriptor.java	17 Aug 2003 09:09:08 -0000	1.4
  +++ AnonymousObjectReferenceDescriptor.java	29 Aug 2003 19:44:59 -0000	1.5
  @@ -17,7 +17,11 @@
   
   	public void setPersistentField(Class c, String fieldname)
       {
  -        m_PersistentField = new AnonymousPersistentFieldForInheritance(m_ClassDescriptor,
fieldname);
  +        // BRJ : 
  +        // no field name for anonymous 'super' reference to 
  +        // prevent using this reference in queries.
  +         
  +        m_PersistentField = new AnonymousPersistentFieldForInheritance(m_ClassDescriptor,
null);
       }
   }
   
  
  
  

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