Hello!

You should map VisitorKey's fields with @QuerySqlField too, after which you
will notice the problem that you're having same fields in both key type and
value type.

As far as my understanding goes, fields should not repeat in key type and
value type. Some fields may go to one class or the other, but not to both.
And of course they all need to be mapped to SQL columns.

So I expect something like

public class VisitorKey {
        @QuerySqlField
        private final UUID eventId;
        @QuerySqlField(index = true) 
        @AffinityKeyMapped
        private final UUID visitorId; 

and 

public class Test { 
     <some other @QuerySqlField fields here, but NOT eventId or visitorId.

Hope this helps,



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

Reply via email to