[postgis-users] CastException: PGobject to PGgeometry

Juliana Barros jubg82 at gmail.com
Thu Sep 28 13:35:12 PDT 2006


Hi,

I´m using jdbc with PostGIS but I receive a java.lang.ClassCastException at
line:

     PGgeometry geom = (PGgeometry) resultSet.getObject("area");

I´m usign the following libs:
postgis_1.1.3.jar
postgresql-8.1-405.jdbc2.jar
postgresql-8.1-405.jdbc2ee.jar
postgresql-8.1-405.jdbc3.jar

May anyone help me?
Thanks!

Juliana Barros
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20060928/b71ead23/attachment.html>


More information about the postgis-users mailing list