title: Spring data cassandra - No keyspace has been specified
body: <p>I'm having a problem with spring data cassandra. Even if a specify the keyspace into CassandraConfig, it is throwing me this error.</p>
  
  <blockquote>
    <p>com.datastax.driver.core.exceptions.InvalidQueryException: No keyspace
    has been specified. USE a keyspace, or explicitly specify
    keyspace.tablename    at
    com.datastax.driver.core.Responses$Error.asException(Responses.java:147)
    ~[cassandra-driver-core-3.4.0.jar:na]</p>
    
    <p>CQL [SELECT * FROM test WHERE token='asdasdasdasd';]; No
    keyspace has been specified. USE a keyspace, or explicitly specify
    keyspace.tablename;</p>
  </blockquote>
  
  <p>CassandraConfig:</p>
  
  <pre><code>@Configuration
  @EnableCassandraRepositories(basePackages = "com.test.model")
  public class CassandraConfig extends AbstractCassandraConfiguration {
  
      @Override
      protected String getKeyspaceName() {
          return "testKeySpace";
      }
  
      @Bean
      public CassandraClusterFactoryBean cluster() {
          CassandraClusterFactoryBean cluster =
                  new CassandraClusterFactoryBean();
          cluster.setContactPoints("127.0.0.1");
          cluster.setPort(9142);
          return cluster;
      }
  
      @Bean
      public CassandraMappingContext cassandraMapping()
              throws ClassNotFoundException {
          return new BasicCassandraMappingContext();
      }
  }
  </code></pre>