Thanks! We did figure out a fix on our own; setting the "nullify" delete
rule on the relationship from child to parent fixes the issue.
Really, "nullify" should be the default... but I digress.
--
Thanks,
Tad
On Wed, Feb 22, 2012 at 2:35 PM, Michael Gentry wrote:
> Hi Tad,
>
> I always remove t
Hi Tad,
I always remove the object from the relationship (unlinking it) and
then delete it. Try doing that instead of just deleting it.
mrg
On Wed, Feb 22, 2012 at 6:53 PM, Tad wrote:
> We're using Cayenne in a web application. Our relationship is like this:
>
> root <- one-to-many -> childre
We're using Cayenne in a web application. Our relationship is like this:
root <- one-to-many -> children
We make a POST request, loop through some objects, and delete some using
ObjectContext.deleteObject. We then commit, no exceptions are thrown, and
ObjectContext.uncommittedObjects is empty. Th