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 ProxyExamples.java
Date Wed, 25 Jun 2003 20:18:33 GMT
brj         2003/06/25 13:18:33

  Modified:    src/test/org/apache/ojb/broker ProxyExamples.java
  Log:
  use ProductGroup not it's id in Article
  
  Revision  Changes    Path
  1.10      +2 -2      db-ojb/src/test/org/apache/ojb/broker/ProxyExamples.java
  
  Index: ProxyExamples.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/ProxyExamples.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ProxyExamples.java	2 Jun 2003 15:18:00 -0000	1.9
  +++ ProxyExamples.java	25 Jun 2003 20:18:33 -0000	1.10
  @@ -347,7 +347,7 @@
   			broker.beginTransaction();
   
   			// Create productgroup
  -			ProductGroupWithCollectionProxy pg = new ProductGroupWithCollectionProxy();
  +            ProductGroupWithCollectionProxy pg = new ProductGroupWithCollectionProxy();
   			pg.setGroupName("TESTPRODUCTGROUP");
   			broker.store(pg);
   
  @@ -356,7 +356,7 @@
   			{
   				Article ar = new Article();
   				ar.setArticleName("ARTICLE " + j);
  -				ar.setProductGroupId(pg.getGroupId());
  +				ar.setProductGroup(pg);
   				broker.store(ar);
   			}
   
  
  
  

Mime
View raw message