infinispan/infinispan — pull request #2052 by mgencur (2013-09-06 13:34:42+00:00)
Title: ISPN-3406 Reading entry via HotRod in compatibility mode fails for non-l...

...ocal entry if stored via Embedded cache

The problem was that unboxValue method on type converters is called twice on the same value in this scenario. While this is not a problem for memcached (it returns again the same byte array), JBoss marshaller returns different byte array every time. That's why the client could not understand the returned value (it was marshalled twice).

Martin