You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Andreas Probst <an...@gmx.net> on 2004/07/15 13:20:16 UTC
Objects are cloned before put into cache
Hi Slide developers,
I wonder why the ObjectNodes are cloned before they are put into the cache
in StandardStore. Could someone please explain this?
Thanks a lot.
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org
Re: Objects are cloned before put into cache
Posted by Oliver Zeigermann <oz...@c1-fse.de>.
Hmmm, I remember we abandoned StandardStore because of the broken
transaction control of the cache. So, maybe you are right. In this case
I simply can not help.
Sorry,
Oliver
Andreas Probst wrote:
> Thank you very much Oliver. I'm afraid I need to stick to the
> StandardStore...
>
> As far as I seen, a rollback in AbstractWebdavMethod goes into our store
> implementation which then calls rollback on the database connection. I think
> the ObjectNodes inside the caches are not touched.
>
> Regards,
>
> Andreas
>
>
>>As I already recommended, keep away from the StandardStore use
>>ExtendedStore... Anyway, they are cloned to allow the roll back of
>>changes made to them.
>>
>>Oliver
>>
>>Andreas Probst wrote:
>>
>>
>>>Hi Slide developers,
>>>
>>>I wonder why the ObjectNodes are cloned before they are put into the
>>
>>cache
>>
>>>in StandardStore. Could someone please explain this?
>>>
>>>Thanks a lot.
>>>
>>>Andreas
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org
Re: Objects are cloned before put into cache
Posted by Andreas Probst <an...@gmx.net>.
Thank you very much Oliver. I'm afraid I need to stick to the
StandardStore...
As far as I seen, a rollback in AbstractWebdavMethod goes into our store
implementation which then calls rollback on the database connection. I think
the ObjectNodes inside the caches are not touched.
Regards,
Andreas
> As I already recommended, keep away from the StandardStore use
> ExtendedStore... Anyway, they are cloned to allow the roll back of
> changes made to them.
>
> Oliver
>
> Andreas Probst wrote:
>
> > Hi Slide developers,
> >
> > I wonder why the ObjectNodes are cloned before they are put into the
> cache
> > in StandardStore. Could someone please explain this?
> >
> > Thanks a lot.
> >
> > Andreas
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org
Re: Objects are cloned before put into cache
Posted by Oliver Zeigermann <oz...@c1-fse.de>.
As I already recommended, keep away from the StandardStore use
ExtendedStore... Anyway, they are cloned to allow the roll back of
changes made to them.
Oliver
Andreas Probst wrote:
> Hi Slide developers,
>
> I wonder why the ObjectNodes are cloned before they are put into the cache
> in StandardStore. Could someone please explain this?
>
> Thanks a lot.
>
> Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org