Skip to content

Commit

Permalink
Merge pull request #445 from eclipse/1-0-2
Browse files Browse the repository at this point in the history
Update release 1.0.2 version
  • Loading branch information
otaviojava authored Oct 1, 2023
2 parents fc1e507 + 4b7b309 commit 78dc714
Show file tree
Hide file tree
Showing 19 changed files with 66 additions and 100 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version

== [Unreleased]

== [1.0.2] - 2023-10-01

=== Added

- Create Metadata API project
Expand All @@ -30,7 +32,7 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version
- Remove exception at the delete methods at the repositories proxies
- Add support to LIKE conditions parameterized at Repository methods annotated with `@Query`
- Enhance the error message when the entity in the repository does not have the Entity annotation
- query specification doesnt allow for dashes in table names
- query specification does not allow for dashes in table names

== [1.0.1] - 2023-7-31

Expand Down
8 changes: 4 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Eclipse JNoSQL offers a mapping implementation for Key-Value NoSQL types:
<dependency>
<groupId>org.eclipse.jnosql.mapping</groupId>
<artifactId>jnosql-mapping-key-value</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</dependency>
----

Expand Down Expand Up @@ -278,7 +278,7 @@ Eclipse JNoSQL offers a mapping implementation for Column NoSQL types:
<dependency>
<groupId>org.eclipse.jnosql.mapping</groupId>
<artifactId>jnosql-mapping-column</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</dependency>
----

Expand Down Expand Up @@ -375,7 +375,7 @@ Eclipse JNoSQL offers a mapping implementation for Document NoSQL types:
<dependency>
<groupId>org.eclipse.jnosql.mapping</groupId>
<artifactId>jnosql-mapping-document</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</dependency>
----

Expand Down Expand Up @@ -473,7 +473,7 @@ Eclipse JNoSQL offers a mapping implementation for Graph NoSQL types:
<dependency>
<groupId>org.eclipse.jnosql.mapping</groupId>
<artifactId>jnosql-mapping-graph</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</dependency>
----

Expand Down
2 changes: 1 addition & 1 deletion jnosql-communication/jnosql-communication-column/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.jnosql.communication</groupId>
<artifactId>jnosql-communication</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
</parent>

<artifactId>jnosql-communication-column</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jnosql-communication/jnosql-communication-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.eclipse.jnosql.communication</groupId>
<artifactId>jnosql-communication</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
</parent>

<artifactId>jnosql-communication-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jnosql-communication/jnosql-communication-document/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.jnosql.communication</groupId>
<artifactId>jnosql-communication</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
</parent>

<artifactId>jnosql-communication-document</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.jnosql.communication</groupId>
<artifactId>jnosql-communication</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
</parent>

<artifactId>jnosql-communication-key-value</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jnosql-communication/jnosql-communication-query/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>org.eclipse.jnosql.communication</groupId>
<artifactId>jnosql-communication</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
</parent>

<artifactId>jnosql-communication-query</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jnosql-communication/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.eclipse.jnosql</groupId>
<artifactId>jnosql-parent</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
</parent>

<groupId>org.eclipse.jnosql.communication</groupId>
Expand Down
2 changes: 1 addition & 1 deletion jnosql-mapping/jnosql-mapping-api-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.eclipse.jnosql.mapping</groupId>
<artifactId>jnosql-mapping-parent</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
</parent>

<artifactId>jnosql-mapping-api-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jnosql-mapping/jnosql-mapping-column/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<parent>
<groupId>org.eclipse.jnosql.mapping</groupId>
<artifactId>jnosql-mapping-parent</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
</parent>

<artifactId>jnosql-mapping-column</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jnosql-mapping/jnosql-mapping-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.eclipse.jnosql.mapping</groupId>
<artifactId>jnosql-mapping-parent</artifactId>
<version>1.0.2-SNAPSHOT</version>
<version>1.0.2</version>
</parent>

<artifactId>jnosql-mapping-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ public List<Object> prefix(String prefix) {
Objects.requireNonNull(prefix, "prefix is required");
return StreamSupport.stream(config.getPropertyNames().spliterator(), false)
.filter(p -> p.startsWith(prefix))
.map(p -> config.getValue(p, String.class))
.map(p -> config.getOptionalValue(p, String.class))
.filter(Optional::isPresent)
.flatMap(Optional::stream)
.collect(Collectors.toUnmodifiableList());
}

Expand Down Expand Up @@ -132,7 +134,9 @@ public List<Object> prefix(Iterable<String> prefixes) {
return StreamSupport.stream(config.getPropertyNames().spliterator(), false)
.filter(prefixCondition)
.sorted()
.map(p -> config.getValue(p, String.class))
.map(p -> config.getOptionalValue(p, String.class))
.filter(Optional::isPresent)
.flatMap(Optional::stream)
.collect(Collectors.toList());
}

Expand Down
Loading

0 comments on commit 78dc714

Please sign in to comment.