dbUnit relies on old release of PostGIS JDBC driver, that has not been declared as a dependency; also an old version of the PostgrSQL driver is defined as an optional dependency
The PostGIS JDBC project released 2021.1.0 on Aug 5 of this year and has changed the package names to become properly modular, see https://github.com/postgis/postgis-java/releases/tag/v2021.1.0
dbUnit should use the new net.postgis.PGgeometry
error on using
net.postgis.PGgeometry
above, that should benet.postgis.jdbc.PGgeometry
Adding a patch that:
- updates the PostgreSQL driver to the current release
- add the (updated) PostGIS driver as an optional dependency
- updates the PostgreSQL docker image to a supported release
Last edit: Mark 2021-12-22
Hey @jeffjensen
Any input or comments on this patch?
Thank you Mark!
2.7.3-SNAPSHOT deployed to Sonatype OSS for testing.
https://gitlab.com/dbUnit/dbunit-extension/-/pipelines/455424178
Last edit: Jeff Jensen 2022-01-25