@Type for ST_Geometry using Hibernate Spatial

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

@Type for ST_Geometry using Hibernate Spatial

rabbia
Hello

I am using Oracle 11g and the server side uses hibernate as the orm. Vividsolutions Geometry is used to manage spatial information. The field in POJO representing data type SDO_Geometry is annotated as follows:

@Type(type="org.hibernatespatial.GeometryUserType")

However if the datatype in database is ST_Geometry, how should the field be annotated in the POJO?


Thanks