You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Lon Varscsak <lo...@gmail.com> on 2018/05/11 02:48:42 UTC

Cayenne firing faults when it shouldn’t be (or at least I don’t think it should be)

I have a situation where I fetched a large amount of objects (50k) and
prefetched a bunch of relationships…this all worked as expected (although I
didn’t realize that this set of data was that large at the time)…but what
caught my eye is that even though it pre-fetched the relationships it was
firing some of the those same relationship’s faults.  I _think_ they were
all to-one (not sure that matters), but something that I thought of.

Is faulting in any way tied to object cache and since the result set is so
large that some things have fallen out of cache and get re-faulted?

-Lon

Re: Cayenne firing faults when it shouldn’t be (or at least I don’t think it should be)

Posted by Lon Varscsak <lo...@gmail.com>.
Oh my, sorry about that.  No it was for Apache Cayenne (which is awesome
btw :P)

On Fri, May 11, 2018 at 1:11 AM, Maxim Solodovnik <so...@gmail.com>
wrote:

> Was it for OpenJpa?
>
> On Fri, May 11, 2018 at 2:43 PM, Martin Grigorov <mg...@apache.org>
> wrote:
>
> > Hey Lon,
> >
> > I think you've sent you message to the wrong users@ mailing list.
> > I've done this mistake several times ! :-)
> >
> > On Fri, May 11, 2018 at 5:48 AM, Lon Varscsak <lo...@gmail.com>
> > wrote:
> >
> > > I have a situation where I fetched a large amount of objects (50k) and
> > > prefetched a bunch of relationships…this all worked as expected
> > (although I
> > > didn’t realize that this set of data was that large at the time)…but
> what
> > > caught my eye is that even though it pre-fetched the relationships it
> was
> > > firing some of the those same relationship’s faults.  I _think_ they
> were
> > > all to-one (not sure that matters), but something that I thought of.
> > >
> > > Is faulting in any way tied to object cache and since the result set is
> > so
> > > large that some things have fallen out of cache and get re-faulted?
> > >
> > > -Lon
> > >
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: Cayenne firing faults when it shouldn’t be (or at least I don’t think it should be)

Posted by Maxim Solodovnik <so...@gmail.com>.
Was it for OpenJpa?

On Fri, May 11, 2018 at 2:43 PM, Martin Grigorov <mg...@apache.org>
wrote:

> Hey Lon,
>
> I think you've sent you message to the wrong users@ mailing list.
> I've done this mistake several times ! :-)
>
> On Fri, May 11, 2018 at 5:48 AM, Lon Varscsak <lo...@gmail.com>
> wrote:
>
> > I have a situation where I fetched a large amount of objects (50k) and
> > prefetched a bunch of relationships…this all worked as expected
> (although I
> > didn’t realize that this set of data was that large at the time)…but what
> > caught my eye is that even though it pre-fetched the relationships it was
> > firing some of the those same relationship’s faults.  I _think_ they were
> > all to-one (not sure that matters), but something that I thought of.
> >
> > Is faulting in any way tied to object cache and since the result set is
> so
> > large that some things have fallen out of cache and get re-faulted?
> >
> > -Lon
> >
>



-- 
WBR
Maxim aka solomax

Re: Cayenne firing faults when it shouldn’t be (or at least I don’t think it should be)

Posted by Martin Grigorov <mg...@apache.org>.
Hey Lon,

I think you've sent you message to the wrong users@ mailing list.
I've done this mistake several times ! :-)

On Fri, May 11, 2018 at 5:48 AM, Lon Varscsak <lo...@gmail.com>
wrote:

> I have a situation where I fetched a large amount of objects (50k) and
> prefetched a bunch of relationships…this all worked as expected (although I
> didn’t realize that this set of data was that large at the time)…but what
> caught my eye is that even though it pre-fetched the relationships it was
> firing some of the those same relationship’s faults.  I _think_ they were
> all to-one (not sure that matters), but something that I thought of.
>
> Is faulting in any way tied to object cache and since the result set is so
> large that some things have fallen out of cache and get re-faulted?
>
> -Lon
>