I have a usecase where the Keys are shared between entities and as a result they have been written as a separate class. I am trying to use inheritance to solve this issue. But the compilation of entities are failing with message saying
[ERROR] Error while parsing: The class 'com.datastax.demo.killrchat.entity.UserEntity' should have at least 1 partition key (@PartitionKey) even when the super class has the filed present.
For demo I tried out the killrchat app with the approach suggested in ISSUE-247
Tried moving login to a separate class and extended it in UserEntity.
I have a usecase where the Keys are shared between entities and as a result they have been written as a separate class. I am trying to use inheritance to solve this issue. But the compilation of entities are failing with message saying
[ERROR] Error while parsing: The class 'com.datastax.demo.killrchat.entity.UserEntity' should have at least 1 partition key (@PartitionKey)
even when the super class has the filed present.For demo I tried out the killrchat app with the approach suggested in ISSUE-247
Tried moving
login
to a separate class and extended it in UserEntity.