Thanks for [subtly] pointing out the problem. cascadeSave() did the trick. :)
I have the inserts and updates working well. I'm dealing with an
event to remove an address. Is my logic correct here?
//Get Address and Company
oAddress = AddressService.get( addressID );
oCompany = CompanyService.get( rc.companyID );
//Remove address from Company
oCompany.removeAddress( oAddress );
//Save company
oCompany.cascadeSave();
This is removing the address from the Join table but not removing the
address from the database completely. Do I need to call
Transfer.delete() on the address after save of the Company?
Thanks again.
On Mon, Nov 2, 2009 at 5:07 PM, Jason Durham <
ja...@durhamcons.com> wrote:
> I'm just using Transfer.save().
>
> Jason