0

I am developing an app that will store location data from map to the MySQL database.I came across MySQL spatial data types which can be useful to perform some operations on the location data. I wanted to integrate hibernate spatial with spring boot but I am unable to do so.I have tried different variations of code but every time this is failing.

I would like to see one complete example for MySQL spatial with following tools : Spring Boot (latest version with latest hibernate) MySQL.

also which dependency for hibernate spatial should I use and what to mention in the properties file and how the code should be?

Did found other solutions but those are outdated and not working when implemented.

Thanks.

1 Answer 1

0

Have a look at https://www.baeldung.com/hibernate-spatial. A recently updated tutorial on Hibernate Spatial with MySQL

Sign up to request clarification or add additional context in comments.

2 Comments

Yes, I looked into this but with the latest version I am not able to create Polygon. It always returns me NoSuchMethodException : getExteriorRing()
Could you post the stack trace?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.