combined type registration since querydsl-spatial depends on geolatte and JTS

This commit is contained in:
Steven Thomson 2014-10-24 16:35:47 -05:00
parent d6a17a7599
commit 245e437fd7
2 changed files with 0 additions and 11 deletions

View File

@ -183,14 +183,6 @@ public class DefaultConfiguration implements Configuration {
} catch (Exception e) {
// do nothing
}
try {
// register additional mappings, if querydsl-spatial and JTS is on the classpath
Class.forName("com.mysema.query.spatial.jts.JTSGeometryExpression");
SpatialSupport.addJTSSupport(module);
} catch (Exception e) {
// do nothing
}
defaultSerializerConfig = new SimpleSerializerConfig(entityAccessors, listAccessors,
mapAccessors, createDefaultVariable, "");

View File

@ -66,9 +66,6 @@ public final class SpatialSupport {
public static void addSupport(AbstractModule module) {
registerTypes(module.get(TypeMappings.class));
addImports(module,"com.mysema.query.spatial.path");
}
public static void addJTSSupport(AbstractModule module) {
registerJTSTypes(module.get(TypeMappings.class));
addImports(module,"com.mysema.query.spatial.jts.path");
}