代码拉取完成,页面将自动刷新
_____ _ _ _____ _____ ___ _____ _ _____
/ _ \ | | | | | _ \ | _ \ / | |_ _| | | / ___/
| | | | | | | | | |_| | | |_| | / /| | | | | | | |___
| | | | | | | | | _ / | _ { / / | | | | | | \___ \
| |_| | | |_| | | | \ \ | |_| | / / | | | | | | ___| |
\_____/ \_____/ |_| \_\ |_____/ /_/ |_| |_| |_| /_____/
To make the development of Mybatis more simple and easy, to provide common operation methods and custom entrance, to make the development free from XML, to improve work efficiency and reduce coding time!
Features of Ourbatis
Take the Spring Boot project for example, and add a dependency
<dependency>
<groupId>com.smallnico</groupId>
<artifactId>ourbatis-spring-boot-starter</artifactId>
<version>1.0.7</version>
</dependency>
Then configure the package path for your entity class:
ourbatis.domain-locations=org.nico.ourbatis.domain
If you want to see Ourbatis startup logs, you can add the following configuration:
logging.level.org.nico.ourbatis=debug
Next, your Mapper simply inherits the SimpleMapper interface:
public interface UserMapper extends SimpleMapper<User, Integer>{}
QQ
473048656QQ Group
177563526Email
ainililia@163.com
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。