protected Class<?> getMapping(String sqlTypeName) {
        Map<String, Class<?>> mappings = new HashMap<String, Class<?>>();
        
        mappings.put("point", Point.class);
        mappings.put("linestring", LineString.class);
        mappings.put("polygon", Polygon.class);
        mappings.put("multipoint", MultiPoint.class);
        mappings.put("multilinestring", MultiLineString.class);
        mappings.put("multipolygon", MultiPolygon.class);
        mappings.put("geomcollection", GeometryCollection.class);
        mappings.put("geometry", Geometry.class);
        mappings.put("text", String.class);
        mappings.put("int8", Long.class);
        mappings.put("bigint", Long.class);
        mappings.put("int4", Integer.class);
        mappings.put("bool", Boolean.class);
        mappings.put("boolean", Boolean.class);
        mappings.put("character", String.class);
        mappings.put("varchar", String.class);
        mappings.put("clob", String.class);
        mappings.put("float8", Double.class);
        mappings.put("int", Integer.class);
        mappings.put("float4", Float.class);
        mappings.put("int2", Short.class);
        mappings.put("time", Time.class);
        mappings.put("timetz", Time.class);
        mappings.put("timestamp", Timestamp.class);
        mappings.put("timestamptz", Timestamp.class);
        mappings.put("uuid", UUID.class);
        
        return mappings.get(sqlTypeName);
    }