Merge branch 'master' of https://github.com/noorq/casser.git
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:
commit
129562e4a8
2 changed files with 6 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue