@@ -0,0 +1,1618 @@
+package com.datastax.driver.mapping;%0A%0Aimport java.util.Arrays;%0Aimport java.util.Collection;%0A%0Aimport com.datastax.driver.mapping.annotations.*;%0Aimport org.testng.annotations.Test;%0A%0Aimport com.datastax.driver.core.CCMBridge;%0A%0A/**%0A * Tests for the mapper with composite partition keys and multiple clustering columns.%0A */%0Apublic class MapperCompositeKeyTest extends CCMBridge.PerClassSingleNodeCluster %7B%0A%0A    protected Collection%3CString%3E getTableDefinitions() %7B%0A        return Arrays.asList(%22CREATE TABLE test_table (pk1 int, pk2 int, cc1 int, cc2 int, PRIMARY KEY ((pk1, pk2), cc1, cc2))%22);%0A    %7D%0A%0A    @Table(keyspace = %22ks%22, name = %22test_table%22)%0A    public static class TestTable %7B%0A        @PartitionKey(0)%0A        private int pk1;%0A%0A        @PartitionKey(1)%0A        private int pk2;%0A%0A        @ClusteringColumn(0)%0A        private int cc1;%0A%0A        @ClusteringColumn(1)%0A        private int cc2;%0A%0A        public int getPk1() %7B%0A            return pk1;%0A        %7D%0A%0A        public void setPk1(int pk1) %7B%0A            this.pk1 = pk1;%0A        %7D%0A%0A        public int getPk2() %7B%0A            return pk2;%0A        %7D%0A%0A        public void setPk2(int pk2) %7B%0A            this.pk2 = pk2;%0A        %7D%0A%0A        public int getCc1() %7B%0A            return cc1;%0A        %7D%0A%0A        public void setCc1(int cc1) %7B%0A            this.cc1 = cc1;%0A        %7D%0A%0A        public int getCc2() %7B%0A            return cc2;%0A        %7D%0A%0A        public void setCc2(int cc2) %7B%0A            this.cc2 = cc2;%0A        %7D%0A    %7D%0A%0A    @Test(groups = %22short%22)%0A    public void testCreateMapper() throws Exception %7B%0A        new MappingManager(session).mapper(TestTable.class);%0A    %7D%0A%7D%0A

Add mapper test for composite keys.