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 MtoNTest.java
Date Sat, 27 Nov 2004 02:14:45 GMT
arminw      2004/11/26 18:14:45

  Modified:    src/test/org/apache/ojb/broker Tag: OJB_1_0_RELEASE
                        MtoNTest.java
  Log:
  add todo note
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.15.2.2  +4 -1      db-ojb/src/test/org/apache/ojb/broker/MtoNTest.java
  
  Index: MtoNTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/MtoNTest.java,v
  retrieving revision 1.15.2.1
  retrieving revision 1.15.2.2
  diff -u -r1.15.2.1 -r1.15.2.2
  --- MtoNTest.java	26 Jul 2004 16:04:03 -0000	1.15.2.1
  +++ MtoNTest.java	27 Nov 2004 02:14:45 -0000	1.15.2.2
  @@ -85,7 +85,10 @@
               qual.setName("qual " + now);
               paper.setQualifiers(Arrays.asList(new Qualifier[] { qual }));
               broker.beginTransaction();
  -            broker.store(paper);        // store Paper and intermediary table only
  +            // TODO: use constraint in DB and fix test
  +            // store paper and set indirection table, ignore new Qualifier
  +            // object. Will cause Key Constraint Exception when constraint are set
  +            broker.store(paper);
               Identity paperId = new Identity(paper, broker);
               broker.commitTransaction();
   
  
  
  

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