I am moving this discussion to the dev list. Looks like our schema generation utility does not work well with arrays.
Alexey K, please pay attention to it when enabling this for the web control center. D. ---------- Forwarded message ---------- From: Dave Ellery <[email protected]> Date: Fri, Jul 3, 2015 at 6:15 AM Subject: Re: Automatic Persistence cache: Key exists in cache, but not value To: vkulichenko <[email protected]> Cc: "[email protected]" <[email protected]> Val - thanks, I actually had a similar thought to that last night, that the comparison is somehow broken. this was generated by the 1.1 schema tool, MySQL5.6 - what I actually need to do is get UUIDs working from a binary(16) column, but one step at a time! Will try out your suggestion and report back! On 2015-07-02 05:50 PM, vkulichenko wrote: 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. -- -- Dave Ellery Senior Architect / Leonardo<http://www.leonardo.com> office: +1 416 885 1450 email: [email protected]<mailto:[email protected]>
