{"id":20768337,"url":"https://github.com/ainilili/ourbatis","last_synced_at":"2025-05-11T09:32:01.506Z","repository":{"id":57719411,"uuid":"145786955","full_name":"ainilili/ourbatis","owner":"ainilili","description":"Enhancement tools that make the development of Mybatis easier.","archived":false,"fork":false,"pushed_at":"2018-12-03T13:28:53.000Z","size":160,"stargazers_count":83,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-30T12:15:17.121Z","etag":null,"topics":["java","mapper","mybatis","mysql","ourbatis","spring"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ainilili.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-23T02:07:20.000Z","updated_at":"2023-06-18T09:26:07.000Z","dependencies_parsed_at":"2022-08-26T10:50:34.567Z","dependency_job_id":null,"html_url":"https://github.com/ainilili/ourbatis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainilili%2Fourbatis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainilili%2Fourbatis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainilili%2Fourbatis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainilili%2Fourbatis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ainilili","download_url":"https://codeload.github.com/ainilili/ourbatis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253544971,"owners_count":21925311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","mapper","mybatis","mysql","ourbatis","spring"],"created_at":"2024-11-17T11:37:45.897Z","updated_at":"2025-05-11T09:32:01.253Z","avatar_url":"https://github.com/ainilili.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ourbatis\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.smallnico/ourbatis/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.smallnico/ourbatis/)\n[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)\n\n## Introduce\n```\n _____   _   _   _____    _____       ___   _____   _   _____  \n/  _  \\ | | | | |  _  \\  |  _  \\     /   | |_   _| | | /  ___/ \n| | | | | | | | | |_| |  | |_| |    / /| |   | |   | | | |___  \n| | | | | | | | |  _  /  |  _  {   / / | |   | |   | | \\___  \\ \n| |_| | | |_| | | | \\ \\  | |_| |  / /  | |   | |   | |  ___| | \n\\_____/ \\_____/ |_|  \\_\\ |_____/ /_/   |_|   |_|   |_| /_____/ \n```\nTo 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!\n\nFeatures of **Ourbatis**\n- **1**, simple and convenient, can make Mybatis develop without XML. \n- **2**, elegant decoupling, complete isolation of generic and custom SQL tags, making maintenance easier.\n- **3**, non-invasive, Mybatis and Ourbatis can be used simultaneously, and the configuration is simple.\n- **4**, flexible and controllable, general template can be customized and extended.\n- **5**, quick deployment, only one dependency and two configurations are needed to run directly.\n- **6**, multi-data source. It can also be used as usual in multi-data source environment.\n- **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.\n \n## Install\nTake the Spring Boot project for example, and add a dependency\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.smallnico\u003c/groupId\u003e\n  \u003cartifactId\u003eourbatis-spring-boot-starter\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.7\u003c/version\u003e\n\u003c/dependency\u003e\n```\nThen configure the package path for your entity class:\n```\nourbatis.domain-locations=org.nico.ourbatis.domain\n```\nIf you want to see Ourbatis startup logs, you can add the following configuration:\n```\nlogging.level.org.nico.ourbatis=debug\n```\nNext, your Mapper simply inherits the SimpleMapper interface:\n```\npublic interface UserMapper extends SimpleMapper\u003cUser, Integer\u003e{}\n```\n## Simple\n - [Sprint Boot Case](https://github.com/ainilili/ourbatis-simple)\n\n## Wiki\n - [Wiki documentation](https://github.com/ainilili/ourbatis/wiki)\n\n## Update\n - [Update Log](https://github.com/ainilili/ourbatis/blob/master/UPDATE.md)\n\n## Feedback\n - ```QQ``` 473048656\n - ```QQ Group``` 177563526\n - ```Email``` ainililia@163.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fainilili%2Fourbatis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fainilili%2Fourbatis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fainilili%2Fourbatis/lists"}