View Code? Open in Web Editor
NEW
This project forked from recruiting-system/java_persistence_practice_mybatis-2019-8-28-13-13-49-440
java_persistence_practice_mybatis-2019-8-28-13-13-49-440's Introduction
- please forked this repo for practice
- use MyBatis to implement
POST /employees
and GET /employees
- submit your git repo url to field
answer
- create
Entity
to present your data structure
- create
Repository
for MyBatis integration
- create
Mapper
under resources package
- write sql statements
- use
Repository
for your business to access to database
schema.sql
will be loaded and init database when application is starting
- navigate to web console
http://localhost:8080/h2-console
- put
jdbc:h2:mem:tws_persistence_db
in JDBC URL
field
java_persistence_practice_mybatis-2019-8-28-13-13-49-440's People
Contributors
Watchers