]> granicus.if.org Git - postgis/commitdiff
Applied Markus Shaber patches.
authorSandro Santilli <strk@keybit.net>
Mon, 31 Jan 2005 17:17:06 +0000 (17:17 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 31 Jan 2005 17:17:06 +0000 (17:17 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1359 b70326c6-7e19-0410-871a-916f4a2858ee

.cvsignore
jdbc2/src/org/postgis/DriverWrapper.java
jdbc2/src/org/postgis/PGgeometry.java

index 22c5136c33dde0ca2f99af12f04570131616a238..383a1d7955a5781e9d15bf864bddf5eade77bf80 100644 (file)
@@ -4,3 +4,5 @@ postgis_undef.sql
 postgis_old.sql
 postgis_geos_version.h
 lwpostgis.sql
+.classpath
+.project
index 56afa1331d0e9c06d4cca87fd119fd5ead4c2be6..fe62230c62b24ab0574dc5e4f21cf81c56d599b5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * PostGisWrapper.java
+ * DriverWrapper.java
  * 
  * $Id$
  * 
index bd1bd5c4f83084a549c4722e82cb7e07a4c1465d..71a003ee6185ac44d95d921b2e299f67d6dcd082 100644 (file)
@@ -22,14 +22,16 @@ public class PGgeometry extends PGobject {
     BinaryParser bp = new BinaryParser();
 
     public PGgeometry() {
-        // Do nothing
+        this.setType("geometry");
     }
 
     public PGgeometry(Geometry geom) {
+        this();
         this.geom = geom;
     }
 
     public PGgeometry(String value) throws SQLException {
+        this();
         setValue(value);
     }