Create Table from Casssandra POjo class using spring data Cassandra is there any tag to create a table definition
Asked
Active
Viewed 538 times
-2
1 Answers
1
Simply use annotation @Table from org.springframework.data.cassandra.core.mapping.Table and also use @PrimaryKey(value = "id") if your pojo have attribute of id. For an CassandraConfiguration.class, follow my answer here.

Rujal Shrestha
- 362
- 2
- 9