ok, I get all your files to run your test.
Have to make some modifications:
- In metadata declaration of SubObject field 'mainid' you set access to anonymous, this is not recommended here. Anonymous fields can only safe used in conjunction with 1:1 references (The docs are not clear here, but AFAIK Brian is working on an update).
- In metadata declaration of SubObject field 'id' you declare an attribute anonymous="true", such an attribute does not exist (AFAIK).
*testDeleteInsert()*
Seems to be a bug in batch handling. Without batch mode enabled test pass, with enabled batch mode test fails.
*testEquals()*
When I delete the object before storing the new instance with same PK test pass
broker.beginTransaction();
broker.store(main1);
// delete object before add new instance with same PK
broker.delete(main1);
broker.store(main2);
broker.commitTransaction();*testDelete()* test pass.
You can find the TestCase in test suite (CVS HEAD) called ...broker.BatchModeTest. Please review my changes.
regards, Armin
Guillaume Nodet wrote:
I'm splitting it because i have problems when attaching a zip file.
------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
