nal Message-
From: Daryl Stultz [mailto:da...@6degrees.com]
Sent: Friday, 14 August 2009 10:24 PM
To: users@openjpa.apache.org
Subject: Re: Delete or merge, update or merge ?
On Thu, Aug 13, 2009 at 1:13 PM, C N Davies wrote:
> The model relationships should manage all aspects of the mode
On Thu, Aug 13, 2009 at 1:13 PM, C N Davies wrote:
> The model relationships should manage all aspects of the model.
Suppose you had A with children B where the collection of B is hundreds of
thousands or more. How would you go about deleting a set of them that met
certain criteria? Load in the
[mailto:ravi.palache...@oracle.com]
Sent: Thursday, 13 August 2009 9:41 PM
To: users@openjpa.apache.org
Subject: RE: Delete or merge, update or merge ?
Hi ,
I guess, If you mergeA with one less B , then the association between A and
B will be lost but the instance of B will not be deleted.
If you call
[mailto:j-b.bri...@novlog.com]
Sent: Thursday, August 13, 2009 3:24 AM
To: users@openjpa.apache.org
Subject: Re: Delete or merge, update or merge ?
up : any advice on that point ?
On Aug 8, 2009, at 08:57 , Jean-Baptiste BRIAUD -- Novlog wrote:
> Hi,
>
> say I have one instance to d
up : any advice on that point ?
On Aug 8, 2009, at 08:57 , Jean-Baptiste BRIAUD -- Novlog wrote:
Hi,
say I have one instance to delete, an instance of B knowing that A
contains one to many B.
Should I merge A with one less B, that should delete the required B
or should I explicitly delet
Hi,
say I have one instance to delete, an instance of B knowing that A
contains one to many B.
Should I merge A with one less B, that should delete the required B or
should I explicitly delete that B with a delete by query or should I
use the remove(thatB) API ?
What are the differences