cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Gentry" <blackn...@gmail.com>
Subject Re: Persistence latency overrun?
Date Fri, 30 Mar 2007 12:24:07 GMT
Are you doing a dataContext.commitChanges() after you delete your
DataObjects?

/dev/mrg


On 3/29/07, David Norwood <davidn@virtuant.com> wrote:
>
> Hi,
>
>
>
> I dealing with one of those overrun situations, where I have a process
> that
> deletes DataObjects, then immediately returns to the same table to select
> more, looping through the result set. Problem is, that some of the ones
> returned in my select are still transient (I suppose), and are in the
> process of deletion. What is the best practice to check the DataObject
> again
> to guarantee that it is really still there?
>
>
>
> TIA,
>
>
>
> -david
>
>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message