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 Sun, 18 Sep 2005 13:08:52 GMT
brj         2005/09/18 06:08:52

  Modified:    src/test/org/apache/ojb/broker Tag: OJB_1_0_RELEASE
                        AnonymousFieldsTest.java
  Log:
  testSuperField: clearCache before querying
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.14.2.2  +2 -0      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.14.2.1
  retrieving revision 1.14.2.2
  diff -u -r1.14.2.1 -r1.14.2.2
  --- AnonymousFieldsTest.java	27 Jul 2004 00:31:50 -0000	1.14.2.1
  +++ AnonymousFieldsTest.java	18 Sep 2005 13:08:52 -0000	1.14.2.2
  @@ -696,6 +696,7 @@
   
           broker.commitTransaction();
   
  +        broker.clearCache();
           Criteria c = new Criteria();
           c.addEqualTo("someSuperValue", new Integer(data2));
           Query q = QueryFactory.newQuery(ObjectRepository.F.class, c);
  @@ -734,6 +735,7 @@
           broker.store(g3);
           broker.commitTransaction();
   
  +        broker.clearCache();
           Criteria c = new Criteria();
           c.addEqualTo("someSuperValue", new Integer(data2));
           Query q = QueryFactory.newQuery(ObjectRepository.G.class, c);
  
  
  

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