You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ar...@apache.org on 2004/10/31 00:08:31 UTC
cvs commit: db-ojb/src/test/org/apache/ojb/odmg CollectionsTest.java
arminw 2004/10/30 15:08:31
Modified: src/test/org/apache/ojb/odmg Tag: OJB_1_0_RELEASE
CollectionsTest.java
Log:
fix test case
Revision Changes Path
No revision
No revision
1.13.2.2 +3 -3 db-ojb/src/test/org/apache/ojb/odmg/CollectionsTest.java
Index: CollectionsTest.java
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/CollectionsTest.java,v
retrieving revision 1.13.2.1
retrieving revision 1.13.2.2
diff -u -r1.13.2.1 -r1.13.2.2
--- CollectionsTest.java 11 Sep 2004 17:39:09 -0000 1.13.2.1
+++ CollectionsTest.java 30 Oct 2004 22:08:31 -0000 1.13.2.2
@@ -78,7 +78,7 @@
tx.lock(child, Transaction.WRITE);
List childs = new ArrayList();
childs.add(child);
- gat.setCollectiblesB(childs);
+ gat.setCollectiblesC(childs);
tx.commit();
//**********************************************
// check if gatherer was stored
@@ -596,7 +596,7 @@
newCols.add(colC.get(2));
// lock object before do changes
tx.lock(fetchedGat, Transaction.WRITE);
- fetchedGat.setCollectiblesA(newCols);
+ fetchedGat.setCollectiblesC(newCols);
// todo: we need to delete removed object explicit?
database.deletePersistent(colC.get(0));
//**********************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org