title: Springboot cassandra frozen value not recognised
body: <p>I have a springboot application which I hooked up with cassandra. I am trying to create a map inside a map but getting the below exception. Seems to me that even though I use <code>@FrozenValue</code>, it is still sending the cal without the keyword <code>frozen</code></p>
  
  <p>Error</p>
  
  <pre><code>Caused by: org.springframework.data.cassandra.CassandraInvalidQueryException: Query; CQL [CREATE TABLE IF NOT EXISTS assessmentsubmissionentity (studentid text, assessmentid text, values map&lt;text, map&lt;text, text&gt;&gt;, PRIMARY KEY ((studentid, assessmentid)));]; Non-frozen collections are not allowed inside collections: map&lt;text, map&lt;text, text&gt;&gt;; nested exception is com.datastax.driver.core.exceptions.InvalidQueryException: Non-frozen collections are not allowed inside collections: map&lt;text, map&lt;text, text&gt;&gt;
      at org.springframework.data.cassandra.core.cql.CassandraExceptionTranslator.translate(CassandraExceptionTranslator.java:139) ~[spring-data-cassandra-2.1.2.RELEASE.jar:2.1.2.RELEASE]
      at org.springframework.data.cassandra.core.cql.CassandraAccessor.translate(CassandraAccessor.java:334) ~[spring-data-cassandra-2.1.2.RELEASE.jar:2.1.2.RELEASE]
  Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Non-frozen collections are not allowed inside collections: map&lt;text, map&lt;text, text&gt;&gt;
      at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:49) ~[cassandra-driver-core-3.6.0.jar:na]
  </code></pre>
  
  <p>Code</p>
  
  <pre><code>@Table
  @Getter
  @Setter
  @NoArgsConstructor
  @AllArgsConstructor
  public class AssessmentSubmissionEntity implements Serializable {
  
      @PrimaryKeyColumn(type = PrimaryKeyType.PARTITIONED)
      private String studentId;
  
      @PrimaryKeyColumn(type = PrimaryKeyType.PARTITIONED)
      private String assessmentId;
  
      @FrozenValue
      @Column
      private Map &lt;String, Map&lt;String, String&gt;&gt; values;
  
      @Override
      public boolean equals(Object o) {
          if (this == o) return true;
          if (o == null || getClass() != o.getClass()) return false;
          AssessmentSubmissionEntity that = (AssessmentSubmissionEntity) o;
          return Objects.equals(studentId, that.studentId) &amp;&amp;
                  Objects.equals(assessmentId, that.assessmentId) &amp;&amp;
                  Objects.equals(values, that.values);
      }
  
      @Override
      public int hashCode() {
  
          return Objects.hash(studentId, assessmentId, values);
      }
  }
  </code></pre>
  
  <p>Maven</p>
  
  <pre><code>&lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-data-cassandra&lt;/artifactId&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;com.datastax.cassandra&lt;/groupId&gt;
                      &lt;artifactId&gt;cassandra-driver-core&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.datastax.cassandra&lt;/groupId&gt;
              &lt;artifactId&gt;cassandra-driver-core&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.datastax.cassandra&lt;/groupId&gt;
              &lt;artifactId&gt;cassandra-driver-mapping&lt;/artifactId&gt;
          &lt;/dependency&gt;
  </code></pre>