cassandra spring boot primary key column

Author: stackmj18

I have a cassandra table with primary key column “id”. I need to add list of students with “first_name”, “last_name”, and “age” fields. How can i add student list to table, where “id” column should be filled automatically with auto incremented value starting from 1?

Originally Sourced from: