openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <plins...@gmail.com>
Subject Re: XML datatypes and data caching
Date Tue, 21 Aug 2007 00:39:21 GMT
Great.

-Patrick

On 8/20/07, catalina wei <catalina.wei@gmail.com> wrote:
> Patric,
> Before commit, we have a copy of the old value in the cache.
> The new value is updated in cache on commit().
> So the changes only visible after commit.
>
> Catalina
>
>
> On 8/20/07, Patrick Linskey <plinskey@gmail.com> wrote:
> >
> > Do we make a copy of the data in the cache? I.e., if you load some
> > data so it gets into cache, then change something inside the XML
> > graph, but do not commit, are the changes visible?
> >
> > -Patrick
> >
> > On 8/20/07, catalina wei <catalina.wei@gmail.com> wrote:
> > > Patrick,
> > > Right now the persistent field mapped to XML column is cached just like
> > > other persist field when DataCache is turned on.
> > >
> > > Do we want to change this behavior  to not caching the xml  field value?
> > > I don't understand why we want to prevent the xml field from getting
> > into
> > > cache.
> > >
> > > The same testcase in openjpa-persistence-jdbc ran OK with DataCache
> > turned
> > > on.
> > >
> > > Catalina
> > >
> > > On 8/20/07, Patrick Linskey <plinskey@gmail.com> wrote:
> > > >
> > > > Great. If you could add a test case, that would be very helpful for
> > > > ongoing verification.
> > > >
> > > > I think that initially, it is probably sufficient to just prevent
> > > > these field types from getting into cache.
> > > >
> > > > -Patrick
> > > >
> > > > On 8/20/07, catalina wei <catalina.wei@gmail.com> wrote:
> > > > > Hi Patrick,
> > > > > I can verify this. I will post result shortly.
> > > > >
> > > > > Catalina
> > > > > On 8/20/07, Patrick Linskey <plinskey@gmail.com> wrote:
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > Have we done any testing of the interaction between XML datatypes
> > and
> > > > > > the data cache?
> > > > > >
> > > > > > -Patrick
> > > > > >
> > > > > > --
> > > > > > Patrick Linskey
> > > > > > 202 669 5907
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Patrick Linskey
> > > > 202 669 5907
> > > >
> > >
> >
> >
> > --
> > Patrick Linskey
> > 202 669 5907
> >
>


-- 
Patrick Linskey
202 669 5907

Mime
View raw message