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/test/org/apache/ojb/broker AnonymousFieldsTest.java
Date Fri, 29 Aug 2003 20:52:35 GMT
brj         2003/08/29 13:52:35

  Modified:    src/test/org/apache/ojb/broker AnonymousFieldsTest.java
  Log:
  super prefix is no longer needed to query a field of vertical super class
  
  Revision  Changes    Path
  1.5       +1 -1      db-ojb/src/test/org/apache/ojb/broker/AnonymousFieldsTest.java
  
  Index: AnonymousFieldsTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/AnonymousFieldsTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AnonymousFieldsTest.java	17 Aug 2003 09:10:16 -0000	1.4
  +++ AnonymousFieldsTest.java	29 Aug 2003 20:52:35 -0000	1.5
  @@ -124,7 +124,7 @@
           broker.store(f3);
   
           Criteria c = new Criteria();
  -        c.addEqualTo("super.someSuperValue", new Integer(key2));
  +        c.addEqualTo("someSuperValue", new Integer(key2));
           Query q = QueryFactory.newQuery(ObjectRepository.F.class, c);
           Collection result = broker.getCollectionByQuery(q);
           assertEquals(3, result.size());
  
  
  

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