ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: Automatic Persistence cache: Key exists in cache, but not value
Date Thu, 02 Jul 2015 21:47:29 GMT
Dave,

It looks like you use byte array as an inner object of the key. Equals on a
byte array will return true only if it's compared with the same instance, so
your UuidTestKey.equals() implementation is wrong right now. Please try
using Arrays.equals(..) method for array comparison.

Was this code generated by schema utility? What is the database type for
UuidTestKey.myid field?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Automatic-Persistence-cache-Key-exists-in-cache-but-not-value-tp605p606.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message