2017-10-07 29 views

回答

1

org.springframework.data.cassandra只需使用注释@Table .core.mapping.Table并且还使用@PrimaryKey(value =“id”)如果您的pojo的属性为id。 对于CassandraConfiguration .class,请按照我的回答here