openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Hoover" <>
Subject RE: OpenJPA DCN/QCN Caching Support?
Date Mon, 07 Jan 2013 14:00:15 GMT
I wouldn't say it's a make or break feature for using OpenJPA, but it would
be a bonus. I wouldn't mind making a contribution to add this feature. By
the looks of how EclipseLink did things it doesn't seem like it would be too
difficult to implement
/oracle/dcn/ ). I guess there would
have to be some thought/discussion on configuration options. Maybe there
could be an option that would allow control over how stale data is handled
during the L2 window period?

-----Original Message-----
From: Kevin Sutter [] 
Sent: Friday, January 04, 2013 2:25 PM
Subject: Re: OpenJPA DCN/QCN Caching Support?

Hi Will,
OpenJPA does support L2 caching.  But, it does not currently support the
"database change notification" as specified in the EclipseLink
documentation.  We are looking at providing this type of notification
support, but there is some concern about the "window" between the time that
the data gets updated in the database and notifying the L2 cache to either
remove or update the contents.  You could argue that any window of time is
better than no automatic notification, but the app still has to know that
they could be processing stale data.  And, closing the window completely may
not actually even be desired since there could be a potential bottleneck at
the notification and processing levels...

It's good to have this conversation though...  Are you indicating this lack
of DCN processing is a make-or-break feature for your usage of OpenJPA?  If
so, would you be interested in helping to develop such a feature?


On Fri, Jan 4, 2013 at 1:07 PM, Will Hoover <> wrote:

> Does OpenJPA support caching using DCN/QCN similar to EclipseLink?
> t/Cach 
> ing/DatabaseEvents<
> asic_JPA_Development/Cach%0Aing/DatabaseEvents>

View raw message