Using Hibernate Spatial and Hibernate annotations

2 messages Options
Embed this post
Permalink
Coquelicot-2

Using Hibernate Spatial and Hibernate annotations

Reply Threaded More More options
Print post
Permalink
Dear all,

has anyone been using Hibernate Spatial and annotations? Right now we
are using XDoclet2 to generate hibernate mapping files and
configuration but I would like to drop that dependency and use the
annotations. Note, that I have NO hands-on experience with Hibernate
annotations (yet :).

Big thanks!

--
Lukasz
_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
Alexandre Walter Pretyman

Re: Using Hibernate Spatial and Hibernate annotations

Reply Threaded More More options
Print post
Permalink
Hi,

Hibernate Spatial with annotations is simple as adding
@Type(type="org.hibernatespatial.GeometryUserType") before your JTS Geometry
field.

Regards,
Alexandre Pretyman

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf
Of Coquelicot
Sent: segunda-feira, 25 de agosto de 2008 12:19
To: [hidden email]
Subject: [hibernatespatial-users] Using Hibernate Spatial and Hibernate
annotations

Dear all,

has anyone been using Hibernate Spatial and annotations? Right now we
are using XDoclet2 to generate hibernate mapping files and
configuration but I would like to drop that dependency and use the
annotations. Note, that I have NO hands-on experience with Hibernate
annotations (yet :).

Big thanks!

--
Lukasz
_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-us
ers

_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users