Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gaocegege/spring-boot-with-hibernate-spatial-and-mysql

An example for spring boot with hibernate spatial and mysql
https://github.com/gaocegege/spring-boot-with-hibernate-spatial-and-mysql

Last synced: 9 days ago
JSON representation

An example for spring boot with hibernate spatial and mysql

Awesome Lists containing this project

README

        

# Spring boot with hibernate spatial and mysql

Mysql 5.7.x supports spatial index in innodb engine, this is a demo.

## Requirements

1. Mysql 5.7.x
2. Maven and Java8

## How to use

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.