Conflicts:
	src/main/java/com/noorq/casser/mapping/CasserMappingProperty.java
	src/test/java/com/noorq/casser/test/integration/core/udtcollection/UDTCollectionTest.java
This commit is contained in:
Albert Shift 2015-04-13 13:04:03 -07:00
commit 129562e4a8
2 changed files with 6 additions and 2 deletions

View file

@ -79,6 +79,7 @@ public final class CasserMappingProperty implements CasserProperty {
this.genericJavaType = getter.getGenericReturnType();
this.javaType = getter.getReturnType();
this.dataType = resolveAbstractDataType(getter, this.genericJavaType, this.javaType, this.columnType);
}
@ -388,6 +389,7 @@ public final class CasserMappingProperty implements CasserProperty {
Class<?> javaType = (Class<?>) type;
dataType = SimpleDataTypes.getDataTypeByJavaClass(javaType);
if (dataType == null) {
IdentityName udtName = MappingUtil.getUserDefinedTypeName(javaType, false);
@ -396,6 +398,7 @@ public final class CasserMappingProperty implements CasserProperty {
}
}
}
if (dataType == null) {

View file

@ -18,6 +18,7 @@ package com.noorq.casser.test.integration.core.udtcollection;
import org.junit.BeforeClass;
import org.junit.Test;
import com.datastax.driver.core.DataType;
import com.datastax.driver.core.Session;
import com.datastax.driver.core.schemabuilder.Create;