Hi,
is it possible to deserialize cache entries to Java objects, and specify
field names mapping using annotations?
In example, let's say cache entries follow a "with-dashes" naming
convention:
binaryObject.toString() = "domain.User[id=... idHash=... user-name=Paul ]"
And I deserialize it with
User user = binaryObject.deserialize();
class User {
*@MapToFieldName{"user-name"}*
private String name;
}
What can we put in place of "MapToFieldName" so that the "user-name" value
from the binary object is placed into the "name" field?
(I know the @QuerySqlField annotation, but that maps sql field names to
cache field names)
thanks!
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/