It's not illegal in general, but it doesn't make sense for out of the box
implementation of cache store.

-Val

On Wed, Apr 12, 2017 at 11:27 PM, Dmitriy Setrakyan <dsetrak...@apache.org>
wrote:

> On Wed, Apr 12, 2017 at 12:24 AM, Valentin Kulichenko <
> valentin.kuliche...@gmail.com> wrote:
>
> > Hi Dmitry,
> >
> > I can't advise a lot on implementation details, but generally I don't
> think
> > that CacheJdbcPojoStore should ever work with POJO classes in case binary
> > marshaller is enabled. It should always work directly with binary objects
> > even if POJOs are on server classpath, and switch to POJOs only when
> other
> > marshaller is used.
> >
> > Makes sense?
> >
>
> Valentin, this makes sense from the performance stand point. However, why
> should it be illegal to deserialize a binary object into class, if the
> class it on the classpath?
>

Reply via email to