Kundera persistence entity definition with partition key and cluster key
问题 I am trying to use Kundera for connecting to Cassandra. In my case I have an Entity X with Partition Key {A,B} and cluster key {C}. We have multiple values of C for each A and B combination(primary key). So in such case how should be define the entity? @Embeddable public class PrimayKey implements Serializable{ @Column(name = "A") private String a; @Column(name = "B") private String b; } @Entity @Table(name = "X") public class X{ @EmbeddedId private PrimayKey key; @Column(name = "C") private