Skip to content

arvindsj/spring-boot-mybatis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Mybatis H2 & Postgres Example

Setup Instructions:

  1. Install H2 DB and create a DB named "multitest"
  2. Install Postgres DB and create a DB named testDB
  3. Execute the following script in Postgres DB CREATE TABLE EMP(ID INT PRIMARY KEY,NAME VARCHAR(255),SALARY INT); insert into EMP(id,name,salary) values(1,'Youtube',2333);
  4. Run maven build
  5. Run the Spring-boot project
  6. Access http://localhost:3000//v1/users

Releases

No releases published

Packages

No packages published

Languages