If I have a 1..n relationship in my object, eg:

Car--->Parts

and I do something like:

Car car = new Car();
car.getParts().add(new Engine());
broker.store(car);

I expect one record in my Car table and one in my Parts table.  Perfect
- that's what I have.

Now, I do a:

car.setParts(new ArrayList());
store(car);

I expect that this removed all records in my Parts table pointing back
to the 'car' instance.

Can't get that to work.  Anyone know why????

-andy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to