I wan to upgrade from spring-data-cassandra to java datastax driver 4.12.0
Below is my spring-data-cassandra version for domain class
@Table('students_details')
class Students{
@PrimaryKeyColumn(name='s_id',type = PrimaryKeyType.PARTITIONED)
Integer id
@PrimaryKeyColumn(name='stident_name',type= PrimaryKeyType.CLUSTERED)
String studentName
}
now i want to change above class according to java datastax annotation, below is my datastax mapper version
@Entity
class Students{
@PartitionKey
@CqlName('s_id')
Integer id
@ClusteringColumn
@CqlName('stident_name')
String studentName
}
Now the problem is how to specify table name similar to @Table annotation in spring casandra.
Thanks