I have installed Cassandra
2.2.5 on a Linux m/c with JDK 1.8.
Now I am using CassandraTemplate
provided in spring-cassandra-data
jar to insert records in the Cassandra DB
.
However the timestamp is getting converted into GMT i.e. 5:30 hours is deducted from it before it gets stored in the DB.
Ex: TimeStamp passed is '2016-02-29 13:25:21'
and TimeStamp stored is 2016-02-29 07:55:21+0000
I want the actual timestamp to be stored in the DB.
Thanks in advance.