@Override
    public void customizeJdbi(Jdbi jdbi) {
        final Codec<Geometry> codec = new PostgisCodec();

        jdbi.registerCodecFactory(CodecFactory.builder()
            .addCodec(Geometry.class, codec)
            .addCodec(GeometryCollection.class, codec)
            .addCodec(LinearRing.class, codec)
            .addCodec(LineString.class, codec)
            .addCodec(MultiLineString.class, codec)
            .addCodec(MultiPoint.class, codec)
            .addCodec(MultiPolygon.class, codec)
            .addCodec(Point.class, codec)
            .addCodec(Polygon.class, codec)
            .build());
    }
Postgis plugin. Adds support for binding and mapping the following data types:

<ul>
<li>{@link org.locationtech.jts.geom.Point}</li>
<li>{@link org.locationtech.jts.geom.LineString}</li>
<li>{@link org.locationtech.jts.geom.LinearRing}</li>
<li>{@link org.locationtech.jts.geom.Polygon}</li>
<li>{@link org.locationtech.jts.geom.MultiPoint}</li>
<li>{@link org.locationtech.jts.geom.MultiLineString}</li>
<li>{@link org.locationtech.jts.geom.MultiPolygon}</li>
<li>{@link org.locationtech.jts.geom.GeometryCollection}</li>
<li>{@link org.locationtech.jts.geom.Geometry}</li>
</ul>
postgis/src/main/java/org/jdbi/v3/postgis/PostgisPlugin.java