Hi to all the PostGIS-JDBC-Users Yesterday i've encountered a problem in my application, where there was no problem before. Usually I put my geometries from the DB to Java with those lines:
PGgeometry pgGeom = (PGgeometry)rs.getObject("aka. Column that holds Geometry"); Geometry geom = pgGeom.getGeometry(); I don't know if it's the best way to do it, but it worked. Now I've got a CastException saying that I can't cast a postgresql.util.PGobject to org.postgis.PGgeometry. Doesn't work with the org.postgis.Geometry-Class either. Makes kinda sense to me, but why did it work before? I've reinstalled PostgreSQL and PostGIS recently (now: Windows 64bit both, before: 32bit both and the PostGIS2.0alpha). Maybe thats one of the reasons? Thx for any help! Felix -- NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users