8000 GitHub - wyufo1223/boot: spring-boot, springMVC, mybatis, maven, git
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wyufo1223/boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

boot

bootstrap spring-boot, SSM, springMVC, RESTful mybatis, JUnit maven, git

activemq P2P, topic redis

spring boot & mybatis config: pom.xml:Add mybatis-spring-boot-starter, mysql-connector-java

schema A:
    1.Add @Mapper in IUserMapper
    2.write sql in IUserMapper

schema B:
    1.application.properties
        mybatis.configLocation=classpath:mybatis-config.xml
        mybatis.mapper-locations=classpath:persistence.mapper/*.xml
    2.Add @MapperScan("com.adaweng.boot.persistence.mapper") in UserController
    3.write sql in UserMapper.xml

About

spring-boot, springMVC, mybatis, maven, git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0