cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lon Varscsak <lon.varsc...@gmail.com>
Subject Re: New JCache returning hollow objects
Date Thu, 09 Mar 2017 22:02:52 GMT
Never mind, problem solved.  I turned out I had another bit of code using
JCache (for something else) with the same cache name.  It was creating the
cache first and specifying it should storeByValue = true (thereby causing
copying of the CayenneDataObject on the second reference).

Whew. :P

-Lon

On Thu, Mar 9, 2017 at 1:40 PM, Lon Varscsak <lon.varscsak@gmail.com> wrote:

> Hey guys,
>
> This morning I switched to the new JCache implementation (using EHCache 3
> as the provider) however, when it returns objects from the cache I’m
> getting hollow objects.  Any ideas?
>
> -Lon
>

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