I got Hibernate Spatial work with Hibernate 3.3.1.GA. I thought that it doesn't work yet, because tutorial (
http://www.hibernatespatial.org/tutorial.html) prefers version 3.2.
Thanks
-----Original Message-----
From:
[hidden email] [mailto:
[hidden email]] On Behalf Of Marc Canaleta
Sent: 13. toukokuuta 2009 13:52
To: Hibernate Spatial Users Discussion
Subject: Re: [hibernatespatial-users] Support for Hibernate v.3.3
We are using Hibernate Spatial with Hibernate 3.3.1.GA successfully.
If you use maven, you can use the following set of dependencies and
exclusions (in this case we are using postgis).
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.4.0.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.3.1.GA</version>
<exclusions>
<exclusion>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
</exclusion>
<exclusion>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
<exclusion>
<groupId>asm</groupId>
<artifactId>asm-attrs</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hibernatespatial</groupId>
<artifactId>hibernate-spatial-postgis</artifactId>
<version>1.0-M2</version>
<exclusions>
<exclusion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.1_3</version>
</dependency>
Best regards,
2009/5/13 Aalto Jukka <
[hidden email]>:
_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users