Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mapping Joda time to Cassandra's Date type

What is the recommended way to map Joda time to Cassandra's Date type when mapping with Spring-data's cassandra module? Is there an equivalent to the @Type annotation in JPA/Hibernate?

like image 681
samyem Avatar asked Feb 19 '15 16:02

samyem


1 Answers

This issue is being addressed with this pending ticket: https://datastax-oss.atlassian.net/browse/JAVA-721

Once resolved, the java driver mapping would allow custom types to be mapped against cassandra data model.

like image 70
samyem Avatar answered Sep 21 '22 11:09

samyem