Skip to content

gaocegege/spring-boot-with-hibernate-spatial-and-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An example for spring boot with hibernate spatial and mysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published