{"id":20573527,"url":"https://github.com/lightweight-component/aj-data","last_synced_at":"2025-05-09T19:31:50.983Z","repository":{"id":245288365,"uuid":"817805560","full_name":"lightweight-component/aj-data","owner":"lightweight-component","description":"Lightweight Data Access Object in Java","archived":false,"fork":false,"pushed_at":"2024-07-09T02:12:39.000Z","size":199,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-13T11:23:22.911Z","etag":null,"topics":["crud","dao","jdbc","sql"],"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/lightweight-component.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-20T13:29:16.000Z","updated_at":"2024-07-09T02:12:42.000Z","dependencies_parsed_at":"2024-07-08T04:28:07.137Z","dependency_job_id":"b9cd12ef-fe28-41d0-8591-342c98302063","html_url":"https://github.com/lightweight-component/aj-data","commit_stats":null,"previous_names":["lightweight-component/aj-data"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightweight-component%2Faj-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightweight-component%2Faj-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightweight-component%2Faj-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightweight-component%2Faj-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightweight-component","download_url":"https://codeload.github.com/lightweight-component/aj-data/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224880877,"owners_count":17385367,"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":["crud","dao","jdbc","sql"],"created_at":"2024-11-16T05:28:01.265Z","updated_at":"2024-11-16T05:28:01.882Z","avatar_url":"https://github.com/lightweight-component.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Maven Central](https://img.shields.io/maven-central/v/com.ajaxjs/ajaxjs-data?label=Latest%20Release)](https://central.sonatype.com/artifact/com.ajaxjs/ajaxjs-data)\n[![Javadoc](https://img.shields.io/badge/javadoc-1.1.6-brightgreen.svg?)](https://dev.ajaxjs.com/docs/javadoc/aj-data/)\n[![License](https://img.shields.io/badge/license-Apache--2.0-green.svg?longCache=true\u0026style=flat)](http://www.apache.org/licenses/LICENSE-2.0.txt)\n[![Email](https://img.shields.io/badge/Contact--me-Email-orange.svg)](mailto:frank@ajaxjs.com)\n[![QQ群](https://framework.ajaxjs.com/static/qq.svg)](https://shang.qq.com/wpa/qunwpa?idkey=3877893a4ed3a5f0be01e809e7ac120e346102bd550deb6692239bb42de38e22)\n\n# Lightweight Data Access Object in Java\n\nAJ-Data boosts the CRUD development, not just an ORM library. There's three layers in this architecture:\n\n1. JDBC Connection, JDBC reader and writer, is like Spring JDBCTemplate or Apache Dbutils. It accepts SQL String and Map params then outputs a value, or a Map, or a Java Bean, or a List.\n1. CRUD Service, is a layer on top of the first layer, also the extender: FastCRUD provides the Common Implementation for rapidly CRUD operations without a lot of coding, plus a simple REST API is readily available.\n1. DataService, is a layer on top of the second layer, to write your own SQL or logic on the Web page, then REST API is prepared. More Info pls check out [here](https://github.com/lightweight-component/dataservice-ui).\n\n\nWe support two primary data formats for both input and output parameters:\n\n\n- Map\u003cString, Object\u003e\n- Java Bean\n\nCurrently supported databases (with more to come):\n\n- MySQL\n- SQLite\n- Derby\n\nJava Documents: https://dev.ajaxjs.com/docs/javadoc/aj-data/. For more information, please visit https://framework.ajaxjs.com/docs/aj/?section=data.\n\n# Install\nRequires Java 1.8+, Maven Snippets:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.ajaxjs\u003c/groupId\u003e\n    \u003cartifactId\u003eajaxjs-data\u003c/artifactId\u003e\n    \u003cversion\u003e1.1.6\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\n# 3rd Party Component that using\nThis project's based on Spring Framework, tested on Spring 5.x.\n\n- Tomcat JDBC Connection Pool\n- [Snowflake](https://github.com/twitter/snowflake) 使用了 Twitter 的分布式自增 ID 算法 Snowflake：雪花生成器\n- JSqlParser, for list paging and SQL Injection protection\n- Apache Derby for unit test\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightweight-component%2Faj-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightweight-component%2Faj-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightweight-component%2Faj-data/lists"}