Javadoc
DriverWrapperAutoprobe
Wraps the PostGreSQL Driver to transparently add the PostGIS Object Classes.
This avoids the need of explicit addDataType() calls from the driver users
side.
This DriverWrapper tries to autoprobe the installed PostGIS version to decide
whether to use EWKT or hex encoded EWKB as canonical text representation. It
uses the first PostGIS installation found in your namespace search path (aka
schema search path) on the server side, and this works as long as you do not
access incompatible PostGIS versions that reside in other schemas.
For usage notes, see DriverWrapper class, but use "jdbc:postgresql_autogis:"
as JDBC url prefix and org.postgis.DriverWrapperAutoprobe as driver class.