Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Quarkus MyBatis Extension

Build License Central

All Contributors

MyBatis is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. This extension provides the developers ease of configuration and native support. Add the following dependency in your pom.xml to get started,

<dependency>
    <groupId>io.quarkiverse.mybatis</groupId>
    <artifactId>quarkus-mybatis</artifactId>
</dependency>

And then your can use the @Mapper in your application just like

@Mapper
public interface UserMapper {

    @Select("SELECT * FROM USERS WHERE id = #{id}")
    User getUser(Integer id);

    @Insert("INSERT INTO USERS (id, name) VALUES (#{id}, #{name})")
    Integer createUser(@Param("id") Integer id, @Param("name") String name);

    @Delete("DELETE FROM USERS WHERE id = #{id}")
    Integer removeUser(Integer id);
}

For more information and quickstart, you can check the complete documentation.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Amos Feng
Amos Feng

💻 🚧
Chao
Chao

💻
Viktor Ilvovskyi
Viktor Ilvovskyi

💻
Igor Dmitriev
Igor Dmitriev

💻
Ken Brumer
Ken Brumer

💻
Zohar
Zohar

🚧
bowen
bowen

💻
Arvin Lee
Arvin Lee

💻
renemarkvard-sosint
renemarkvard-sosint

💻
DefNed
DefNed

💻
Stein Desmet
Stein Desmet

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

关于 About

Quarkus MyBatis Extension
quarkus-extension

语言 Languages

Java100.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
52
Total Commits
峰值: 6次/周
Less
More

核心贡献者 Contributors