Skip to content

Use Spring Boot to run local H2 database server. Handy lightweight local database server

License

Notifications You must be signed in to change notification settings

codspire/spring-boot-h2-database-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot H2 Database Server

Use Spring Boot to run local H2 database server. Handy lightweight local database server

Start the DB Server

mvn clean spring-boot:run

Use the below connection string to connect to this database from outside

spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.url=jdbc:h2:tcp://localhost:9092/mem:test;
spring.datasource.username=sa
spring.datasource.password=sa

Manage Schema

Manage database DDLs and DMLs using the Liquibase scripts at src/main/resources/db/changelog

Connect Using IntelliJ DB Browser

About

Use Spring Boot to run local H2 database server. Handy lightweight local database server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages