Is it possible to store a geometry datatype in mysql 5.6 by using Hibernate-Spatial API?

StackOverflow https://stackoverflow.com/questions/22086163

  •  18-10-2022
  •  | 
  •  

Question

I would like to persist co-ordinates of polygon shape in Mysql5.6. I have seen tutorial for Postgresql. http://www.hibernatespatial.org/documentation/02-Tutorial/01-tutorial4/

But They haven't specified any sample code for mysql. So I feel fear to start with. Please suggest me, Is it possible to persist a single polygon shape in mysql database ?

Regards, ArunRaj.

Was it helpful?

Solution

Yes, We can store and retrieve the spatial datatype by hibernate spatial API. The tutorial Which i was mentioned is enough to store and retrieve the spatial data.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top