File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/marklogic/geotools/basic Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ protected SimpleFeatureType buildFeatureType() throws IOException {
211
211
JsonNode schema = metadata .get ("fields" );
212
212
213
213
idField = metadata .get ("idField" ).asText ();
214
- builder .add (idField , Integer .class );
214
+ builder .add (idField , Long .class );
215
215
216
216
Class <?> geoBinding = geometryToClass (metadata .get ("geometryType" ).asText ());
217
217
//AttributeDescriptor geoAttrDesc = buildAttributeDescriptor(geometryColumn, geoBinding);
@@ -289,7 +289,7 @@ else if ("String".equalsIgnoreCase(type)) {
289
289
binding = String .class ;
290
290
}
291
291
else if ("Integer" .equalsIgnoreCase (type )) {
292
- binding = Integer .class ;
292
+ binding = Long .class ;
293
293
}
294
294
else if ("Double" .equalsIgnoreCase (type )) {
295
295
binding = Double .class ;
You can’t perform that action at this time.
0 commit comments