Hi, I encountered the problem that in Java the Session does not create a valid UserType for my corresponding CQL user defined type.
CQL_SCHEMA: create keyspace if not exists quotes WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }; CREATE TYPE IF NOT EXISTS quotes.price ( value double, size bigint, timestamp bigint, delay int ); JAVA UserType priceType = session.getCluster().getMetadata().getKeyspace("quotes").getUserType("price"); Assert.assertNotNull(priceType); // true Assert.assertEquals("price", priceType.getTypeName()); // true Assert.assertEquals(4, priceType.getFieldNames().size()); // AssertionFailedError: expected:<4> but was:<0> I am testing with Cassandra v.2.1.2 on Windows using Datastax Java Driver 2.1.2. I am thankful for any suggestions. Regards Andi