1.my entity class use java.lang.Double field
@Basic @Column(name = "LGTD", nullable = true, length = 13) public Double getLgtd() { return lgtd; }
in com.sdl.odata.datasource.jpa.builders.PropertyBuilder throw new JPADataMappingException("Found a complex relation type of an unmapped JPA type");
2.java.sql.Timestamp
@Column(name = "TM", nullable = false) public Timestamp getTm() { return tm; }
in com.sdl.odata.edm.model.StructuralPropertyImpl
this.typeName = resolver.resolveTypeName(cls); if (isNullOrEmpty(this.typeName)) { throw new IllegalArgumentException("The OData type of this field cannot be determined from " + "the Java type: " + field.toGenericString()); }
It seems only primitive types are currently supported. So you can use double but not Double. I have not found an alternative to Date. Anyone have any ideas?
1.my entity class use java.lang.Double field
@Basic @Column(name = "LGTD", nullable = true, length = 13) public Double getLgtd() { return lgtd; }
in com.sdl.odata.datasource.jpa.builders.PropertyBuilderthrow new JPADataMappingException("Found a complex relation type of an unmapped JPA type");
2.java.sql.Timestamp@Column(name = "TM", nullable = false) public Timestamp getTm() { return tm; }
in com.sdl.odata.edm.model.StructuralPropertyImplthis.typeName = resolver.resolveTypeName(cls); if (isNullOrEmpty(this.typeName)) { throw new IllegalArgumentException("The OData type of this field cannot be determined from " + "the Java type: " + field.toGenericString()); }