Skip to content

This repo demonstrates spring-boot JDBC using filesystem based h2 database in MySQL mode

License

Notifications You must be signed in to change notification settings

daggerok/spring-jdbc-h2-schema

Repository files navigation

spring-jdbc-h2-schema Build Status

This repo showing how setup:

  • spring-boot JDBC

  • filesystem based h2 database in MySQL mode

branch java-config contains jdbc DDL/DML populator java configuration

branch default-schame-and-data-files-location contains jdbc DDL/DML populator by default spring-boot initialize database convention:

  • src/main/resources/schema.sql DDL scripts

  • src/main/resources/data.sql DML scripts

and finally spring-datasource-platform branch contains platform specific sql scripts (do not forget setup spring.datasource.platform properties in src/main/resources/application.properties or src/main/resources/application.yaml config file

links:

gradle
./gradlew
java -jar build/libs/*.jar
bash build/libs/*.jar
maven
./mvnw
java -jar target/*.jar
bash target/*.jar

generated by jvm yeoman generator

About

This repo demonstrates spring-boot JDBC using filesystem based h2 database in MySQL mode

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published