Skip to content

Commit

Permalink
v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lecousin committed Jan 2, 2022
1 parent dc35605 commit e3c425b
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 18 deletions.
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# lc-spring-data-r2dbc

net.lecousin.reactive-data-relational
[![Maven Central](https://img.shields.io/maven-central/v/net.lecousin.reactive-data-relational/core.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22net.lecousin.reactive-data-relational%22%20AND%20a%3A%22core%22)
[![Javadoc](https://img.shields.io/badge/javadoc-0.7.0-brightgreen.svg)](https://www.javadoc.io/doc/net.lecousin.reactive-data-relational/core/0.7.0)
[![Javadoc](https://img.shields.io/badge/javadoc-0.8.0-brightgreen.svg)](https://www.javadoc.io/doc/net.lecousin.reactive-data-relational/core/0.8.0)
![Build status](https://github.com/lecousin/lc-spring-data-r2dbc/actions/workflows/maven.yml/badge.svg?branch=master)

[![Codecov](https://codecov.io/gh/lecousin/lc-spring-data-r2dbc/branch/master/graph/badge.svg)](https://codecov.io/gh/lecousin/lc-spring-data-r2dbc/branch/master)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=lecousin_lc-spring-data-r2dbc&metric=coverage)](https://sonarcloud.io/summary/new_code?id=lecousin_lc-spring-data-r2dbc)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=lecousin_lc-spring-data-r2dbc&metric=bugs)](https://sonarcloud.io/summary/new_code?id=lecousin_lc-spring-data-r2dbc)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=lecousin_lc-spring-data-r2dbc&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=lecousin_lc-spring-data-r2dbc)
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=lecousin_lc-spring-data-r2dbc&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=lecousin_lc-spring-data-r2dbc)

The goal this library is to provide basic ORM features not covered by [Spring Data R2DBC](https://github.com/spring-projects/spring-data-r2dbc).

Expand All @@ -27,6 +31,7 @@ this library aims at providing the most useful features that are really missing
- Delete with cascade
- Composite Id
- Sequence
- Insert multiple rows in a single INSERT request (except for MySql)
- Schema generation, with indexes, foreign key constraints, sequences

Features are detailed with examples in the [wiki section](https://github.com/lecousin/lc-spring-data-r2dbc/wiki)
Expand Down Expand Up @@ -60,13 +65,13 @@ Maven
<dependency>
<groupId>net.lecousin.reactive-data-relational</groupId>
<artifactId>h2</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
</dependency>
```

Gradle
```groovy
implementation group: 'net.lecousin.reactive-data-relational', name: 'h2', version: '0.7.0'
implementation group: 'net.lecousin.reactive-data-relational', name: 'h2', version: '0.8.0'
```

### Postgres
Expand All @@ -76,13 +81,13 @@ Maven
<dependency>
<groupId>net.lecousin.reactive-data-relational</groupId>
<artifactId>postgres</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
</dependency>
```

Gradle
```groovy
implementation group: 'net.lecousin.reactive-data-relational', name: 'postgres', version: '0.7.0'
implementation group: 'net.lecousin.reactive-data-relational', name: 'postgres', version: '0.8.0'
```

### MySql
Expand All @@ -92,13 +97,13 @@ Maven
<dependency>
<groupId>net.lecousin.reactive-data-relational</groupId>
<artifactId>mysql</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
</dependency>
```

Gradle
```groovy
implementation group: 'net.lecousin.reactive-data-relational', name: 'mysql', version: '0.7.0'
implementation group: 'net.lecousin.reactive-data-relational', name: 'mysql', version: '0.8.0'
```

## Spring Boot configuration
Expand Down Expand Up @@ -244,7 +249,7 @@ In order to make sure the initializer is launched before any test class is loade
<dependency>
<groupId>net.lecousin.reactive-data-relational</groupId>
<artifactId>test-junit-5</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
<scope>test</scope>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>net.lecousin.reactive-data-relational</groupId>
<artifactId>parent</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
</parent>
<artifactId>core</artifactId>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ public void testGetRequiredIdError() {

@Test
public void testInsertAndDeleteManyEntities() {
final int nb = lcClient.getSchemaDialect().isMultipleInsertSupported() ? 1000000 : 10000;
final int nb = lcClient.getSchemaDialect().isMultipleInsertSupported() ? 1000000 : 1000;
lcClient.save(Flux.range(0, nb)
.map(i -> {
BooleanTypes entity = new BooleanTypes();
Expand Down
2 changes: 1 addition & 1 deletion h2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>net.lecousin.reactive-data-relational</groupId>
<artifactId>parent</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
</parent>
<artifactId>h2</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion jacoco-report-aggregate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>net.lecousin.reactive-data-relational</groupId>
<artifactId>parent</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
</parent>
<artifactId>jacoco-report-aggregate</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion mysql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>net.lecousin.reactive-data-relational</groupId>
<artifactId>parent</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
</parent>
<artifactId>mysql</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.lecousin.reactive-data-relational</groupId>
<artifactId>parent</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
<packaging>pom</packaging>

<name>net.lecousin.reactive-data-relational aka lc-spring-data-r2dbc</name>
Expand Down
2 changes: 1 addition & 1 deletion postgres/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>net.lecousin.reactive-data-relational</groupId>
<artifactId>parent</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
</parent>
<artifactId>postgres</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion test-junit-5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>net.lecousin.reactive-data-relational</groupId>
<artifactId>parent</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
</parent>
<artifactId>test-junit-5</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion test-spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>net.lecousin.reactive-data-relational</groupId>
<artifactId>parent</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
</parent>
<artifactId>test-spring-boot</artifactId>

Expand Down

0 comments on commit e3c425b

Please sign in to comment.