include Db2 JDBC driver


IBM publishes their jdbc driver for Db2 on Maven central under a license which allows redistribution:

for settting up online CI with IBM Db2 this dependency is required




Mark Prins
February 21, 2021, 8:52 AM

thanks, David.

I ran into some “mindboggles” with the db2 command line tool, but I think I got things sorted, well at least for GeoTools to run the “online” integration test suite.


there’s 2 shell scripts that live in that are fired from a GH workflow:

I’ll try to find some time to add a note to the dev notes:

Even though it’s quite a sizeable docker image the build + test suite runs in less than 10 minutes. that might be improved with an image that already has a databasebase prepared with spatial setup, but I’m happy as it is now.

David Adler
February 20, 2021, 8:21 PM

Mark, thank you for doing this.
I saw an issue about creating a Docker image for Db2 testing can’t find it now. I captured the script to set it up but didn’t see anything about spatially-enabling the database.
Let me know if you need any assistance.
I had actually wanted to create a public Docker image of Db2 with spatial setup but hadn’t completed the process.



Mark Prins


Mark Prins