[postgis-devel] building jdbc against 8.0 jdbc driver fails
strk at refractions.net
strk at refractions.net
Tue Oct 5 15:46:51 PDT 2004
Fixed. Thanks.
--strk;
On Tue, Oct 05, 2004 at 05:23:16PM -0500, Kris Jurka wrote:
>
> Trying to build the jdbc portion of postgis fails when compiling against
> the 8.0 jdbc driver. The code is trying to throw an
> org.postgresql.util.PSQLException in the case of an invalid point. The
> constructor for this object has changed in the latest driver release and
> was never meant to be used by external projects. This change uses the
> standard java.sql.SQLException instead.
>
> Kris Jurka
> ? org/postgis/Geometry.class
> ? org/postgis/LineString.class
> ? org/postgis/LinearRing.class
> ? org/postgis/MultiLineString.class
> ? org/postgis/MultiPoint.class
> ? org/postgis/MultiPolygon.class
> ? org/postgis/PGbox3d.class
> ? org/postgis/PGgeometry.class
> ? org/postgis/Point.class
> ? org/postgis/Polygon.class
> Index: org/postgis/Point.java
> ===================================================================
> RCS file: /home/cvs/postgis/postgis/jdbc/org/postgis/Point.java,v
> retrieving revision 1.1.1.1
> diff -c -r1.1.1.1 Point.java
> *** org/postgis/Point.java 22 Jun 2001 17:39:30 -0000 1.1.1.1
> --- org/postgis/Point.java 5 Oct 2004 22:13:49 -0000
> ***************
> *** 69,75 ****
> }
> }
> catch(NumberFormatException e) {
> ! throw new PSQLException("postgis.Point",e.toString());
> }
> }
>
> --- 69,75 ----
> }
> }
> catch(NumberFormatException e) {
> ! throw new SQLException("postgis.Point: " + e.toString());
> }
> }
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
More information about the postgis-devel
mailing list