ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Rudyak <irud...@gmail.com>
Subject Re: Cassandra failing to ReadThrough using Cache.get(key) without preloading
Date Mon, 11 Sep 2017 03:58:22 GMT
Hi Kenan,

Either your *examples.cassandra_persistence_store.model.TestResponse*
implementation is incorrect or you just accidentally inserting incorrect
values into your Cassandra table.

Here are the details:

1) *col5* field in *TestResponse* class has *long* type - which means that
it's not nullable.
2) At the same time, all the rows you inserting in Cassandra table have
*col5* value as a *null*. Which automatically means that it's impossible to
create *TestResponse* object instance from any of these rows, cause *col5*
is not nullable.
3) Because of this, all attempts of *CassandraCacheStore* to deserialize
*TestResponse* objects inserted into Cassandra table will fail.





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Mime
View raw message