# quarkus-mybatis **Repository Path**: weir_admin/quarkus-mybatis ## Basic Information - **Project Name**: quarkus-mybatis - **Description**: No description available - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2021-09-12 - **Last Updated**: 2024-03-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Quarkus MyBatis Extension [![Build](https://github.com/quarkiverse/quarkus-mybatis/workflows/Build/badge.svg?branch=master)](https://github.com/quarkiverse/quarkus-mybatis/actions?query=workflow%3ABuild) [![License](https://img.shields.io/github/license/quarkiverse/quarkus-mybatis)](http://www.apache.org/licenses/LICENSE-2.0) [![Central](https://img.shields.io/maven-central/v/io.quarkiverse.mybatis/quarkus-mybatis-parent?color=green)](https://search.maven.org/search?q=g:io.quarkiverse.mybatis%20AND%20a:quarkus-mybatis-parent) [![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#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, ```xml io.quarkiverse.mybatis quarkus-mybatis ``` And then your can use the ```@Mapper``` in your application just like ```java @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](https://quarkiverse.github.io/quarkiverse-docs/quarkus-mybatis/dev/index.html). ## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Amos Feng

💻 🚧

Chao

💻

Viktor Ilvovskyi

💻

Igor Dmitriev

💻

Ken Brumer

💻

Zohar

🚧

bowen

💻
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!