Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

x7

http://x7.xream.io

license maven

x7/x7-repo DETAILED README

GLIMPSE

   x7-repo     (sqli,  Spring JdbcTemplate, Distribution Lock, Cache and so on....)
      @EnableX7Repository           @Repository       and { interface FooRepository extends BaseRepository<Foo> }
      @EnableX7L3Caching            @CacheableL3
      @EnableDistributionLock       @Lock             or  
         { DistributionLock.by(key).lock(task) }
         
       
    
   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/reliable or seata, maybe we can not use:
        @Lock  or 
        { DistributionLock.by(key).lock(task) }

About

x7-repo: simple orm based on spring jdbcTemplate + sqli; rey: RestTemplate + resilience4j + opentracing for k8s

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages