From fcf411f20acb4701716e26b6e796d22350d761f3 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 1 Feb 2005 15:26:08 +0000 Subject: [PATCH] Another small patch from Markus git-svn-id: http://svn.osgeo.org/postgis/trunk@1361 b70326c6-7e19-0410-871a-916f4a2858ee --- jdbc2/src/org/postgis/DriverWrapper.java | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/jdbc2/src/org/postgis/DriverWrapper.java b/jdbc2/src/org/postgis/DriverWrapper.java index fe62230c6..ee95fa845 100644 --- a/jdbc2/src/org/postgis/DriverWrapper.java +++ b/jdbc2/src/org/postgis/DriverWrapper.java @@ -35,29 +35,14 @@ import java.util.Properties; * following works for jboss: * * - * <driver-class>com.logitrack.gis.util.DriverWrapper</driver-class> + * <driver-class>org.postgis.DriverWrapper</driver-class> * * If you don't like or want to use the DriverWrapper, you have two - * alternatives: - * - * A) If you use a pgjdbc driver newer than 8 Nov 2004, the - * postgresql.properties file in the org.postgresql directory delivered with - * this source should auto-register the PostGIS extension. - * - * B) Add the datatypes manually to your connection: - * - * - * ((org.postgresql.PGConnection) conn).addDataType("geometry", "org.postgis.PGgeometry"); - * ((org.postgresql.PGConnection) conn).addDataType("box3d", "org.postgis.PGbox3d"); - * - * - * (You may need to dig through some wrappers when running in an appserver. E. - * G. for JBoss, you get a org.jboss.resource.adapter.jdbc.WrappedConnection and - * have to call getUnderlyingConnection() on it.) + * alternatives, see the README file. * * Also note that the addDataType() methods known from earlier pgjdbc versions * are deprecated in pgjdbc 8.0, see the commented code variants in the - * addGisTypes() method for an alternative. + * addGisTypes() method. * * @author Markus Schaber * -- 2.40.0