ourbatis

General XML solution based on mybatis

Лицензия

Лицензия

Группа

Группа

com.smallnico
Идентификатор

Идентификатор

ourbatis
Последняя версия

Последняя версия

1.0.8
Дата

Дата

Тип

Тип

jar
Описание

Описание

ourbatis
General XML solution based on mybatis
Ссылка на сайт

Ссылка на сайт

https://github.com/ainilili/ourbatis
Система контроля версий

Система контроля версий

https://github.com/ainilili/ourbatis

Скачать ourbatis

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.smallnico/ourbatis/ -->
<dependency>
    <groupId>com.smallnico</groupId>
    <artifactId>ourbatis</artifactId>
    <version>1.0.8</version>
</dependency>
// https://jarcasting.com/artifacts/com.smallnico/ourbatis/
implementation 'com.smallnico:ourbatis:1.0.8'
// https://jarcasting.com/artifacts/com.smallnico/ourbatis/
implementation ("com.smallnico:ourbatis:1.0.8")
'com.smallnico:ourbatis:jar:1.0.8'
<dependency org="com.smallnico" name="ourbatis" rev="1.0.8">
  <artifact name="ourbatis" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.smallnico', module='ourbatis', version='1.0.8')
)
libraryDependencies += "com.smallnico" % "ourbatis" % "1.0.8"
[com.smallnico/ourbatis "1.0.8"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.mybatis : mybatis jar 3.4.5
com.smallnico : noson jar 1.1.6

Модули Проекта

Данный проект не имеет модулей.

Ourbatis

Maven Central License

Introduce

 _____   _   _   _____    _____       ___   _____   _   _____  
/  _  \ | | | | |  _  \  |  _  \     /   | |_   _| | | /  ___/ 
| | | | | | | | | |_| |  | |_| |    / /| |   | |   | | | |___  
| | | | | | | | |  _  /  |  _  {   / / | |   | |   | | \___  \ 
| |_| | | |_| | | | \ \  | |_| |  / /  | |   | |   | |  ___| | 
\_____/ \_____/ |_|  \_\ |_____/ /_/   |_|   |_|   |_| /_____/ 

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

  • 1, simple and convenient, can make Mybatis develop without XML.
  • 2, elegant decoupling, complete isolation of generic and custom SQL tags, making maintenance easier.
  • 3, non-invasive, Mybatis and Ourbatis can be used simultaneously, and the configuration is simple.
  • 4, flexible and controllable, general template can be customized and extended.
  • 5, quick deployment, only one dependency and two configurations are needed to run directly.
  • 6, multi-data source. It can also be used as usual in multi-data source environment.
  • 7, the project is active, Nico will also be used in daily development and optimize Ourbatis, and will be the first to step on the pit and fill the pit.

Install

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>{}

Simple

Wiki

Update

Feedback

Версии библиотеки

Версия
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2