That didnt work, don't know where it is being lost. Could someone take a
look at this?
Here it is inline:
--- db-ojb-1.0.rc5/src/test/org/apache/ojb/odmg/CollectionsTest.java
2003-12-14 06:59:05.000000000 -0600
+++
db-ojb-1.0.rc5.broken/src/test/org/apache/ojb/odmg/CollectionsTest.java
2003-12-29 09:37:32.000000000 -0600
@@ -70,13 +70,13 @@
List colList = Arrays.asList(cols);
// set List of CollectibleBase objects
gat.setCollectiblesA(colList);
- Transaction tx = odmg.newTransaction();
+ TransactionExt tx = (TransactionExt) odmg.newTransaction();
tx.begin();
db.makePersistent(gat);
tx.commit();
-
// check if gatherer was stored
tx.begin();
+ tx.getBroker().clearCache();
OQLQuery query = odmg.newOQLQuery();
query.create(queryStr);
Integer gatId = gat.getGatId();
>>> [EMAIL PROTECTED] 12/30/03 10:20 AM >>>
Looks like my attatchment got stripped some how, Ill try it again.
>>> [EMAIL PROTECTED] 12/29/03 09:48 AM >>>
Ok, here is a real simple patch to the
org.apache.ojb.odmg.CollectionsTest that causes the test to fail. My
goal is to simulate restarting the system between storing and verifying.
I think it exposes a bug somewhere.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]