ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anil <anilk...@gmail.com>
Subject Re: Composite affinity key
Date Tue, 25 Oct 2016 11:02:54 GMT
Agree. makes sense.

one quick question.. will those affinity mapped objects retrieved when
select * from Person is fired ?

On 25 October 2016 at 15:25, Sergi Vladykin <sergi.vladykin@gmail.com>
wrote:

>
>> cache.put(department.getKey(), department);
>> cache.put(person.getKey(), person);
>>
>>
> As a side note: it is actually a bad practice to have a key as a field in
> a value, because this way it will be stored in cache twice.
>
> Sergi
>
>
>
>
>> Thanks,
>> Sergej
>>
>>
>>
>>
>> --
>> View this message in context: http://apache-ignite-users.705
>> 18.x6.nabble.com/Composite-affinity-key-tp8462p8464.html
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>
>
>

Mime
View raw message