How to insert java.util.Date values into Cassandra date type column using Spring Data Cassandra?
问题 I have cassandra table with a date type column as follows: create table people ( id int primary key, name text, email text, dob date ); I am using SpringBoot 1.5.2 + Spring Data Cassandra Starter. @Table("people") public class Person { @PrimaryKey Integer id; private String name; private String email; private java.util.Date dob; //setters and getters } public interface PersonRepository extends CrudRepository<Person, Integer>{ } I am inserting new Person as follows: personRepository.save(new