1 Star 0 Fork 23

wangysasd / mybatis-jpa

forked from littlenb / mybatis-jpa 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README-EN.md 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
swayli 提交于 2019-12-25 11:37 . update readme

mybatis-jpa

Mybatis JDK 1.7 maven central APACHE 2 License

:book: English Documentation | :book: 中文文档

The plugins for mybatis, in order to provider the ability to handler jpa.

maven

        <dependency>
            <groupId>com.littlenb</groupId>
            <artifactId>mybatis-jpa</artifactId>
            <version>2.2.0</version>
        </dependency>

Plugin boom

  • ResultTypePlugin Interceptor

    Introduce the JPA annotation to handle result set mappings(JavaBean/POJO).

    It means with ResultTypePlugin,no longer need to be build ResultMap.

  • AnnotationStatementScanner statementFactory

    register MappedStatement with annotation-based,only support for Insert and Update.

Please view test project where has more examplesmybatis-jpa-test

Java
1
https://gitee.com/wangysasd/mybatis-jpa.git
git@gitee.com:wangysasd/mybatis-jpa.git
wangysasd
mybatis-jpa
mybatis-jpa
master

搜索帮助