32 Star 82 Fork 21

littlenb / mybatis-jpa

加入 Gitee
与超过 600 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README-EN.md 1.50 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
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

评论 ( 0 )

你可以在登录后,发表评论

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

搜索帮助

182229 41614e54 1850385 182230 7885ed45 1850385