ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Mashenkov <andrey.mashen...@gmail.com>
Subject Re: Behaviour about extra or unknown property
Date Mon, 24 Apr 2017 10:27:29 GMT
Hi David,

Looks like you need smth like serialVersionUid semantic for Serializable
Unfortunatelly, it is not supported.

On Mon, Apr 24, 2017 at 11:47 AM, David Li <david.li.sg@gmail.com> wrote:

> If putting an object in the cache, when the original class definition
> changed, for example, add/remove property, change property name, ignite
> will just assign default value to unknown properties, (null, 0, false etc),
> and any extra value (property maybe removed from class) will be ignored.
> I am wondering if there is any setting can change the behaviour, for
> example, if there is any unknown property, can make the retrieval fail or
> return null? My purpose is just to make sure outdated data wont be
> accidentally retrieved.
> BRs,
> David

Best regards,
Andrey V. Mashenkov

View raw message