Skip to content

freewind-demos/java-mybatisplus-h2-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java MyBatisPlus H2 Demo

MyBatisPlus可以简化CRUD,自动提供一些相应方法,不用每个都手写SQL

brew install httpie
./mvnw package
java -jar target/demo-0.0.1-SNAPSHOT.jar
http POST http://localhost:8099/api/messages text=aaa
http POST http://localhost:8099/api/messages text=bbb

http POST http://localhost:8099/api/messages text=aa##bb

http GET http://localhost:8099/api/messages

http GET http://localhost:8099/api/messages/0

Then

http://localhost:8099/h2

with

JDBC_URL: jdbc:h2:mem:demo
USER NAME: sa
PASSWORD: sa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages