private static void registerTypes(Configuration configuration) {
        // mysql & postgresql
        configuration.registerType("geometry", Geometry.class);
        configuration.registerType("point", Point.class);
        configuration.registerType("linestring", LineString.class);
        configuration.registerType("polygon", Polygon.class);
        configuration.registerType("multipoint", MultiPoint.class);
        configuration.registerType("multilinestring", MultiLineString.class);
        configuration.registerType("multipolygon", MultiPolygon.class);
        configuration.registerType("geometrycollection", GeometryCollection.class);
        // teradata
        configuration.registerType("sysudtlib.st_geometry", Geometry.class);
    }
{@code SpatialSupport} provides support for spatial types in code generation

@author tiwe
querydsl-sql-spatial/src/main/java/com/querydsl/sql/spatial/SpatialSupport.java