Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gaocegege/spring-boot-with-hibernate-spatial-and-mysql
- Owner: gaocegege
- Created: 2015-11-27T05:11:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-27T05:12:05.000Z (almost 9 years ago)
- Last Synced: 2024-10-07T15:23:32.663Z (about 1 month ago)
- Language: Shell
- Size: 16.6 KB
- Stars: 4
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.