{"id":20892930,"url":"https://github.com/carmjos/easysql","last_synced_at":"2025-04-06T11:11:18.602Z","repository":{"id":37771866,"uuid":"437319596","full_name":"CarmJos/EasySQL","owner":"CarmJos","description":":floppy_disk: Easy (to operate) SQL Databases! A easy-to-use advanced SQL framework based on JDBC, supports multiple types of databases and connection pools, with high customizability and extensibility.","archived":false,"fork":false,"pushed_at":"2025-03-25T08:14:42.000Z","size":3738,"stargazers_count":60,"open_issues_count":9,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T10:08:54.758Z","etag":null,"topics":["beecp","easy-to-use","hikaricp","java","java-library","jdbc","sql"],"latest_commit_sha":null,"homepage":"https://carmjos.github.io/EasySQL/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CarmJos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["CarmJos"],"custom":["https://donate.carm.cc"]}},"created_at":"2021-12-11T15:33:11.000Z","updated_at":"2025-03-11T20:40:23.000Z","dependencies_parsed_at":"2023-12-26T10:24:16.256Z","dependency_job_id":"4483eb8d-63bd-45c5-b974-a9d844ace758","html_url":"https://github.com/CarmJos/EasySQL","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2FEasySQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2FEasySQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2FEasySQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2FEasySQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarmJos","download_url":"https://codeload.github.com/CarmJos/EasySQL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247471521,"owners_count":20944158,"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":["beecp","easy-to-use","hikaricp","java","java-library","jdbc","sql"],"created_at":"2024-11-18T10:14:16.834Z","updated_at":"2025-04-06T11:11:18.578Z","avatar_url":"https://github.com/CarmJos.png","language":"Java","funding_links":["https://github.com/sponsors/CarmJos","https://donate.carm.cc"],"categories":[],"sub_categories":[],"readme":"```text\n    ______                    _____ ____    __ \n   / ____/___ ________  __   / ___// __ \\  / / \n  / __/ / __ `/ ___/ / / /   \\__ \\/ / / / / /  \n / /___/ /_/ (__  ) /_/ /   ___/ / /_/ / / /___\n/_____/\\__,_/____/\\__, /   /____/\\___\\_\\/_____/\n                 /____/                        \n```\n\n# EasySQL\n\n[![version](https://img.shields.io/github/v/release/CarmJos/EasySQL)](https://github.com/CarmJos/EasySQL/releases)\n[![License](https://img.shields.io/github/license/CarmJos/EasySQL)](https://opensource.org/licenses/MIT)\n[![workflow](https://github.com/CarmJos/EasySQL/actions/workflows/maven.yml/badge.svg?branch=master)](https://github.com/CarmJos/EasySQL/actions/workflows/maven.yml)\n[![CodeFactor](https://www.codefactor.io/repository/github/carmjos/easysql/badge)](https://www.codefactor.io/repository/github/carmjos/easysql)\n![CodeSize](https://img.shields.io/github/languages/code-size/CarmJos/EasySQL)\n![](https://visitor-badge.glitch.me/badge?page_id=EasySQL.readme)\n\n简单便捷的数据库操作工具，可自定义连接池来源。\n\n随项目分别提供 [BeeCP](https://github.com/Chris2018998/BeeCP) 与 [Hikari](https://github.com/brettwooldridge/HikariCP)\n两个连接池的版本。\n\n## 优势\n\n- 基于JDBC开发，可自选连接池、JDBC驱动。\n- 简单便捷的增删改查接口，无需手写SQL语句。\n- 额外提供部分常用情况的SQL操作\n- 自动关闭数据流\n- 支持同步操作与异步操作\n\n## 开发\n\n详细开发介绍请 [点击这里](.documentation/README.md) , JavaDoc(最新Release) 请 [点击这里](https://carmjos.github.io/EasySQL) 。\n\n### 示例代码\n\n您可以 [点击这里](demo/src/main/java/EasySQLDemo.java) 查看部分代码演示，更多演示详见 [开发介绍](.documentation/README.md) 。\n\n### 依赖方式\n\n#### Maven 依赖\n\n\u003cdetails\u003e\n\u003csummary\u003e远程库配置\u003c/summary\u003e\n\n```xml\n\n\u003cproject\u003e\n    \u003crepositories\u003e\n\n        \u003crepository\u003e\n            \u003c!--采用Maven中心库，安全稳定，但版本更新需要等待同步--\u003e\n            \u003cid\u003emaven\u003c/id\u003e\n            \u003cname\u003eMaven Central\u003c/name\u003e\n            \u003curl\u003ehttps://repo1.maven.org/maven2\u003c/url\u003e\n        \u003c/repository\u003e\n\n        \u003crepository\u003e\n            \u003c!--采用github的repo分支依赖，实时更新。 (推荐)--\u003e\n            \u003cid\u003eEasySQL\u003c/id\u003e\n            \u003cname\u003eGitHub Branch Repository\u003c/name\u003e\n            \u003curl\u003ehttps://github.com/CarmJos/EasySQL/blob/repo/\u003c/url\u003e\n        \u003c/repository\u003e\n\n        \u003crepository\u003e\n            \u003c!--采用github packages依赖库，安全稳定，但需要配置 --\u003e\n            \u003cid\u003eEasySQL\u003c/id\u003e\n            \u003cname\u003eGitHub Packages\u003c/name\u003e\n            \u003curl\u003ehttps://maven.pkg.github.com/CarmJos/EasySQL\u003c/url\u003e\n        \u003c/repository\u003e\n\n        \u003crepository\u003e\n            \u003c!--采用我的私人依赖库，简单方便，但可能因为变故而无法使用--\u003e\n            \u003cid\u003ecarm-repo\u003c/id\u003e\n            \u003cname\u003eCarm's Repo\u003c/name\u003e\n            \u003curl\u003ehttps://repo.carm.cc/repository/maven-public/\u003c/url\u003e\n        \u003c/repository\u003e\n\n    \u003c/repositories\u003e\n\u003c/project\u003e\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e原生依赖\u003c/summary\u003e\n\n```xml\n\n\u003cproject\u003e\n    \u003cdependencies\u003e\n        \u003c!--对于需要提供公共接口的项目，可以仅打包API部分，方便他人调用--\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecc.carm.lib\u003c/groupId\u003e\n            \u003cartifactId\u003eeasysql-api\u003c/artifactId\u003e\n            \u003cversion\u003e[LATEST RELEASE]\u003c/version\u003e\n            \u003cscope\u003ecompile\u003c/scope\u003e\n        \u003c/dependency\u003e\n\n        \u003c!--如需自定义连接池，则可以仅打包实现部分，自行创建SQLManager--\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecc.carm.lib\u003c/groupId\u003e\n            \u003cartifactId\u003eeasysql-impl\u003c/artifactId\u003e\n            \u003cversion\u003e[LATEST RELEASE]\u003c/version\u003e\n            \u003cscope\u003ecompile\u003c/scope\u003e\n        \u003c/dependency\u003e\n\n    \u003c/dependencies\u003e\n\u003c/project\u003e\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e含连接池版本\u003c/summary\u003e\n\n```xml\n\n\u003cproject\u003e\n    \u003cdependencies\u003e\n        \u003c!--也可直接选择打包了连接池的版本--\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecc.carm.lib\u003c/groupId\u003e\n            \u003cartifactId\u003eeasysql-beecp\u003c/artifactId\u003e\n            \u003cversion\u003e[LATEST VERSION]\u003c/version\u003e\n            \u003cscope\u003ecompile\u003c/scope\u003e\n        \u003c/dependency\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecc.carm.lib\u003c/groupId\u003e\n            \u003cartifactId\u003eeasysql-hikaricp\u003c/artifactId\u003e\n            \u003cversion\u003e[LATEST VERSION]\u003c/version\u003e\n            \u003cscope\u003ecompile\u003c/scope\u003e\n        \u003c/dependency\u003e\n    \u003c/dependencies\u003e\n\u003c/project\u003e\n```\n\n\u003c/details\u003e\n\n#### Gradle 依赖\n\n\u003cdetails\u003e\n\u003csummary\u003e远程库配置\u003c/summary\u003e\n\n```groovy\nrepositories {\n\n    // 采用Maven中心库，安全稳定，但版本更新需要等待同步 \n    mavenCentral()\n\n    // 采用github的repo分支依赖，实时更新。 (推荐)\n    maven { url 'https://github.com/CarmJos/EasySQL/blob/repo/' }\n\n    // 采用github依赖库，安全稳定，但需要配置\n    maven { url 'https://maven.pkg.github.com/CarmJos/EasySQL' }\n\n    // 采用我的私人依赖库，简单方便，但可能因为变故而无法使用\n    maven { url 'https://repo.carm.cc/repository/maven-public/' }\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e原生依赖\u003c/summary\u003e\n\n```groovy\n\ndependencies {\n\n    //对于需要提供公共接口的项目，可以仅打包API部分，方便他人调用\n    api \"cc.carm.lib:easysql-api:[LATEST RELEASE]\"\n\n    //如需自定义连接池，则可以仅打包实现部分，自行创建SQLManager\n    api \"cc.carm.lib:easysql-impl:[LATEST RELEASE]\"\n\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e含连接池版本\u003c/summary\u003e\n\n```groovy\n\ndependencies {\n\n    //也可直接选择打包了连接池的版本\n\n    api \"cc.carm.lib:easysql-beecp:[LATEST RELEASE]\"\n\n    api \"cc.carm.lib:easysql-hikaricp:[LATEST RELEASE]\"\n\n}\n```\n\n\u003c/details\u003e\n\n## 支持与捐赠\n\n若您觉得本插件做的不错，您可以通过捐赠支持我！\n\n感谢您对开源项目的支持！\n\n## 开源协议\n\n本项目源码采用 [The MIT License](https://opensource.org/licenses/MIT) 开源协议。\n\u003cdetails\u003e\n\u003csummary\u003e关于 MIT 协议\u003c/summary\u003e\n\n\u003e MIT 协议可能是几大开源协议中最宽松的一个，核心条款是：\n\u003e\n\u003e 该软件及其相关文档对所有人免费，可以任意处置，包括使用，复制，修改，合并，发表，分发，再授权，或者销售。唯一的限制是，软件中必须包含上述版 权和许可提示。\n\u003e\n\u003e 这意味着：\n\u003e - 你可以自由使用，复制，修改，可以用于自己的项目。\n\u003e - 可以免费分发或用来盈利。\n\u003e - 唯一的限制是必须包含许可声明。\n\u003e\n\u003e MIT 协议是所有开源许可中最宽松的一个，除了必须包含许可声明外，再无任何限制。\n\u003e\n\u003e *以上文字来自 [五种开源协议GPL,LGPL,BSD,MIT,Apache](https://www.oschina.net/question/54100_9455) 。*\n\u003c/details\u003e \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarmjos%2Feasysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarmjos%2Feasysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarmjos%2Feasysql/lists"}