diff --git a/README.md b/README.md
index daba9a4f7..514244e04 100644
--- a/README.md
+++ b/README.md
@@ -12,13 +12,13 @@ To begin working with ``spring-cassandra`` or ``spring-data-cassandra``, add the
-### CQL Only (spring-cassandra)
+### CQL Only (spring-cql)
*Maven Coordinates*
org.springframework.data
- spring-cassandra
+ spring-cql
1.0.0.BUILD-SNAPSHOT
diff --git a/spring-cql/src/test/java/org/springframework/cassandra/test/integration/core/template/CassandraOperationsTest.java b/spring-cql/src/test/java/org/springframework/cassandra/test/integration/core/template/CassandraOperationsTest.java
index 30363e270..3adee19c8 100644
--- a/spring-cql/src/test/java/org/springframework/cassandra/test/integration/core/template/CassandraOperationsTest.java
+++ b/spring-cql/src/test/java/org/springframework/cassandra/test/integration/core/template/CassandraOperationsTest.java
@@ -15,10 +15,6 @@
*/
package org.springframework.cassandra.test.integration.core.template;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
@@ -33,11 +29,12 @@ import org.cassandraunit.dataset.cql.ClassPathCQLDataSet;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
+import org.mortbay.log.Log;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import org.springframework.cassandra.core.ConsistencyLevel;
import org.springframework.cassandra.core.CqlOperations;
import org.springframework.cassandra.core.CqlTemplate;
-import org.springframework.cassandra.core.ConsistencyLevel;
import org.springframework.cassandra.core.HostMapper;
import org.springframework.cassandra.core.PreparedStatementBinder;
import org.springframework.cassandra.core.PreparedStatementCallback;
@@ -50,11 +47,13 @@ import org.springframework.cassandra.core.RowCallbackHandler;
import org.springframework.cassandra.core.RowIterator;
import org.springframework.cassandra.core.RowMapper;
import org.springframework.cassandra.core.SessionCallback;
+import org.springframework.cassandra.core.keyspace.CreateTableSpecification;
import org.springframework.cassandra.test.integration.AbstractKeyspaceCreatingIntegrationTest;
import org.springframework.dao.DataAccessException;
import org.springframework.util.CollectionUtils;
import com.datastax.driver.core.BoundStatement;
+import com.datastax.driver.core.DataType;
import com.datastax.driver.core.Host;
import com.datastax.driver.core.PreparedStatement;
import com.datastax.driver.core.ResultSet;
@@ -62,6 +61,13 @@ import com.datastax.driver.core.ResultSetFuture;
import com.datastax.driver.core.Row;
import com.datastax.driver.core.Session;
import com.datastax.driver.core.exceptions.DriverException;
+import com.datastax.driver.core.querybuilder.Insert;
+import com.datastax.driver.core.querybuilder.QueryBuilder;
+import com.datastax.driver.core.querybuilder.Truncate;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
/**
* Unit Tests for CqlTemplate
@@ -71,7 +77,7 @@ import com.datastax.driver.core.exceptions.DriverException;
*/
public class CassandraOperationsTest extends AbstractKeyspaceCreatingIntegrationTest {
- private static CqlOperations cassandraTemplate;
+ private static CqlOperations cqlTemplate;
private static Logger log = LoggerFactory.getLogger(CassandraOperationsTest.class);
@@ -102,7 +108,7 @@ public class CassandraOperationsTest extends AbstractKeyspaceCreatingIntegration
log.info("Running setupTemplate()");
- if (cassandraTemplate == null) {
+ if (cqlTemplate == null) {
log.info("null Template ... Initialzing DB test CQL");
@@ -110,14 +116,14 @@ public class CassandraOperationsTest extends AbstractKeyspaceCreatingIntegration
// "cassandraOperationsTest-cql-dataload.cql", keyspace), CASSANDRA_CONFIG, CASSANDRA_HOST,
// CASSANDRA_NATIVE_PORT);
- cassandraTemplate = new CqlTemplate(SESSION);
+ cqlTemplate = new CqlTemplate(SESSION);
}
}
@Test
public void ringTest() {
- List ring = cassandraTemplate.describeRing();
+ List ring = cqlTemplate.describeRing();
/*
* There must be 1 node in the cluster if the embedded server is
@@ -133,7 +139,7 @@ public class CassandraOperationsTest extends AbstractKeyspaceCreatingIntegration
@Test
public void hostMapperTest() {
- List ring = (List) cassandraTemplate.describeRing(new HostMapper() {
+ List ring = (List) cqlTemplate.describeRing(new HostMapper() {
@Override
public Collection mapHosts(Set host) throws DriverException {
@@ -172,7 +178,7 @@ public class CassandraOperationsTest extends AbstractKeyspaceCreatingIntegration
values.add(new LinkedList