From 0e38f0a1d11ce6c93f4c38f636dcd9e6afee4ce9 Mon Sep 17 00:00:00 2001 From: Peter Mount Date: Tue, 6 Jun 2000 07:45:07 +0000 Subject: [PATCH] Added some missing org.'s that prevented the use of the geometric types --- src/interfaces/jdbc/CHANGELOG | 5 +++++ .../jdbc/org/postgresql/Connection.java | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/interfaces/jdbc/CHANGELOG b/src/interfaces/jdbc/CHANGELOG index 8867ce9394..23b07a3fbe 100644 --- a/src/interfaces/jdbc/CHANGELOG +++ b/src/interfaces/jdbc/CHANGELOG @@ -1,3 +1,8 @@ +Tue Jun 06 08:37:00 BST 2000 petermount@it.maidstone.gov.uk + - Removed a hardwired 8K limit on query strings + - Added some missing org.'s in Connection that prevented + the use of the geometric types. + Thu Jun 01 07:26:00 BST 2000 petermount@it.maidstone.gov.uk - Removed timezone in getTimestamp() methods in ResultSet. diff --git a/src/interfaces/jdbc/org/postgresql/Connection.java b/src/interfaces/jdbc/org/postgresql/Connection.java index 2b79d20d3f..e205206d45 100644 --- a/src/interfaces/jdbc/org/postgresql/Connection.java +++ b/src/interfaces/jdbc/org/postgresql/Connection.java @@ -10,7 +10,7 @@ import org.postgresql.largeobject.*; import org.postgresql.util.*; /** - * $Id: Connection.java,v 1.2 2000/06/06 07:24:06 peter Exp $ + * $Id: Connection.java,v 1.3 2000/06/06 07:45:07 peter Exp $ * * This abstract class is used by org.postgresql.Driver to open either the JDBC1 or * JDBC2 versions of the Connection class. @@ -703,14 +703,14 @@ public abstract class Connection // the full class name of the handling class. // private static final String defaultObjectTypes[][] = { - {"box", "postgresql.geometric.PGbox"}, - {"circle", "postgresql.geometric.PGcircle"}, - {"line", "postgresql.geometric.PGline"}, - {"lseg", "postgresql.geometric.PGlseg"}, - {"path", "postgresql.geometric.PGpath"}, - {"point", "postgresql.geometric.PGpoint"}, - {"polygon", "postgresql.geometric.PGpolygon"}, - {"money", "postgresql.util.PGmoney"} + {"box", "org.postgresql.geometric.PGbox"}, + {"circle", "org.postgresql.geometric.PGcircle"}, + {"line", "org.postgresql.geometric.PGline"}, + {"lseg", "org.postgresql.geometric.PGlseg"}, + {"path", "org.postgresql.geometric.PGpath"}, + {"point", "org.postgresql.geometric.PGpoint"}, + {"polygon", "org.postgresql.geometric.PGpolygon"}, + {"money", "org.postgresql.util.PGmoney"} }; // This initialises the objectTypes hashtable