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/test/org/apache/ojb/broker InheritanceMultipleTableTest.java
Date Fri, 22 Apr 2005 18:11:58 GMT
arminw      2005/04/22 11:11:58

  Modified:    src/test/org/apache/ojb/broker Tag: OJB_1_0_RELEASE
                        InheritanceMultipleTableTest.java
  Log:
  fix test
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.7.2.6   +2 -2      db-ojb/src/test/org/apache/ojb/broker/InheritanceMultipleTableTest.java
  
  Index: InheritanceMultipleTableTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/InheritanceMultipleTableTest.java,v
  retrieving revision 1.7.2.5
  retrieving revision 1.7.2.6
  diff -u -r1.7.2.5 -r1.7.2.6
  --- InheritanceMultipleTableTest.java	22 Apr 2005 16:42:22 -0000	1.7.2.5
  +++ InheritanceMultipleTableTest.java	22 Apr 2005 18:11:57 -0000	1.7.2.6
  @@ -142,7 +142,7 @@
           crit.addEqualTo("name", consortium.getName());
           crit.addEqualTo("shareholders.share", new Integer(24));
           crit.addEqualTo("shareholders.name", name + "_shareholder");
  -        Query q = QueryFactory.newQuery(Shareholder.class, crit);
  +        Query q = QueryFactory.newQuery(Consortium.class, crit);
           Collection result = broker.getCollectionByQuery(q);
           assertEquals(1, result.size());
           assertEquals(consortium, result.iterator().next());
  
  
  

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