Re: [Geotools-devel] gt-postgis + hibernate-spatial pom dependency conflict

2010-03-12 Thread Andrea Aime
Stefan Krüger ha scritto: > Hi Geotoolers > Hi Karel > > I just stumbled over a problem i wanted to report. In a maven project i > defined > the dependencies for gt-postgis and hibernate-spatial. But when used > together, > i got "unknown type" errors when mapping a Geometry column. (=> hibern

Re: [Geotools-devel] gt-postgis + hibernate-spatial pom dependency conflict

2010-03-11 Thread Pieter De Graef
This problem has indeed been around for many years. As Jody said, just exclude the version that Hibernate Spatial is using, and use the one GeoTools requires. Jody Garnett schreef: Actually that is expected - and why maven offers the exclude facility. It should actually work if both projects

Re: [Geotools-devel] gt-postgis + hibernate-spatial pom dependency conflict

2010-03-11 Thread Jody Garnett
Actually that is expected - and why maven offers the exclude facility. It should actually work if both projects depended on the exact same version of the jdbc driver. You should also note that you are introducing risk by using one of the projects with a version of the jdbc driver it is untested

[Geotools-devel] gt-postgis + hibernate-spatial pom dependency conflict

2010-03-10 Thread Stefan Krüger
Hi Geotoolers Hi Karel I just stumbled over a problem i wanted to report. In a maven project i defined the dependencies for gt-postgis and hibernate-spatial. But when used together, i got "unknown type" errors when mapping a Geometry column. (=> hibernate- spatial didn't work) It showed that th