From: Paul Ramsey Date: Tue, 22 Jun 2004 21:30:58 +0000 (+0000) Subject: Compile patch from Markus Schaber X-Git-Tag: pgis_0_9_1~157 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72f8f4352d4ac6cd8b48673e7dfc356d06ab3da6;p=postgis Compile patch from Markus Schaber git-svn-id: http://svn.osgeo.org/postgis/trunk@637 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/jdbc/examples/TestServer.java b/jdbc/examples/TestServer.java index 0c5ca58d1..808403dab 100644 --- a/jdbc/examples/TestServer.java +++ b/jdbc/examples/TestServer.java @@ -32,8 +32,8 @@ public class TestServer String url = "jdbc:postgresql://" + dbhost + ":" + dbport + "/" + dbname; conn = DriverManager.getConnection(url, dbuser, dbpass); System.out.println("Adding geometric type entries..."); - ((org.postgresql.Connection)conn).addDataType("geometry","org.postgis.PGgeometry"); - ((org.postgresql.Connection)conn).addDataType("box3d","org.postgis.PGbox3d"); + ((org.postgresql.PGConnection)conn).addDataType("geometry","org.postgis.PGgeometry"); + ((org.postgresql.PGConnection)conn).addDataType("box3d","org.postgis.PGbox3d"); Statement s = conn.createStatement(); System.out.println("Creating table with geometric types..."); //table might not yet exist