Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x-ream/x7
x7-repo: simple orm based on spring jdbcTemplate + sqli
https://github.com/x-ream/x7
builder jdbctemplate sql sqli
Last synced: 19 days ago
JSON representation
x7-repo: simple orm based on spring jdbcTemplate + sqli
- Host: GitHub
- URL: https://github.com/x-ream/x7
- Owner: x-ream
- License: apache-2.0
- Created: 2022-03-09T06:44:02.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-24T06:04:44.000Z (9 months ago)
- Last Synced: 2024-04-24T13:20:00.574Z (9 months ago)
- Topics: builder, jdbctemplate, sql, sqli
- Language: Java
- Homepage:
- Size: 7.58 MB
- Stars: 53
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# x7
[http://x7.xream.io](http://x7.xream.io)
[![license](https://img.shields.io/github/license/x-ream/x7.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![maven](https://img.shields.io/maven-central/v/io.xream.x7/x7-parent.svg)](https://search.maven.org/search?q=io.xream)
![springboot](https://img.shields.io/badge/springboot-v3.2.6-green.svg)x7/x7-repo [DETAILED README](https://github.com/x-ream/x7/blob/master/x7-repo/README.md)
### GLIMPSE
x7-repo (sqli, Spring JdbcTemplate, Distribution Lock, Cache and so on....)
@EnableX7Repository @Repository and { interface FooRepository extends BaseRepository }
@EnableX7Lock @Lock or
{ DistributionLock.by(key).lock(task) }
## [x7-spring-boot-starter](https://github.com/x-ream/x7-spring-boot-starter)### 如何使用第三方id生成器
1. @SpringBootApplication(exclude = IdGeneratorAutoConfiguration.class)
2. 参照x7-id-generator工程, 新建工程,实现自定义的IdGeneratorService, 代码如下:
public interface MyIdGeneratorService extends IdGeneratorProxy
### NOTES
1. A method, coded with io.xream/acku or seata, maybe we can not use:
@Lock or
{ DistributionLock.by(key).lock(task) }