background:

class a holds a collection of class b objects.
class b depends on class a.
class a implements Persistent, both classes implement TimeStampable.

i use the cvs version from 12/19/2001.

problem:
when i test without lazy loading the collection of b objects everything is
fine.

in case of lazy loading the collection of b's some strange things happen:

1. removing b's from the collection will result in duplicating the unremoved
objects of the collection inside the database
[ "a", "b", "c" ] + removing "c" = [ "a", "b", "a", "b"]

2. adding new b's to an existent collection of b's in class a will result in
a complete strange behaviour:
[ "a", "b", "c"] + adding "d" + adding "e" = [ "a", "b", "c", "d", "d", "e"]

knows somebody what wrong ?

thanks,

lars

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to