Mysql 5.7.x supports spatial index in innodb engine, this is a demo.
- Mysql 5.7.x
- Maven and Java8
First, you need to run the dbCreate.sql in /db/dbCreate.sql
to create the table.
Then, you need to change the db connection configuration in /src/main/resources/application.properties
.
run the command mvn install
, you will see the result of the tests.