MyBatis 和 Spring Boot 的集成,Mybatis Spring Boot 1.0.0 正式發布
Mybatis Spring Boot 是 MyBatis 和 Spring Boot 的集成。
Mybatis Spring Boot 1.0.0 正式發布,詳細信息請查看發行頁面:
https://github.com/mybatis/mybatis-spring-boot/releases
下載地址如下:
- </li>
-
</li>
</ul>
配置文件設置:
mybatis.config= # mybatis config file mybatis.mapperLocations= # mappers file mybatis.typeAliasesPackage= # domain object's package mybatis.typeHandlersPackage= # handler's package mybatis.check-config-location= # check the mybatis configuration exists mybatis.executorType= # mode of execution. Default is SIMPLE
依賴:<dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.0.0-SNAPSHOT</version> </dependency>
來自:http://www.oschina.net/news/68197/mybatis-spring-boot-1-0-0
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!