Skip to content

Commit 4c5df87

Browse files
authored
Merge pull request #5 from oracle/release/release-1.2
Prepare for release v1.2.0.
2 parents 5b077b0 + af70105 commit 4c5df87

File tree

4 files changed

+42
-22
lines changed

4 files changed

+42
-22
lines changed

CHANGELOG.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,26 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/).
55

6-
## Unpublished
6+
## [Unreleased]
7+
8+
## [1.2.0] - 2021-04-06
79
### Added
10+
- Exception message for instantiate failures
11+
- New profile in pom.xml for cloud testing
12+
- Support for fields of type java enumeration
13+
- Support for IgnoreCase and AllIgnoreCase keywords in derived query method
14+
names.
815
- Projections
916
- Implemented support for projections to POJOs with limited set of fields
10-
and interfaces.
17+
and interfaces.
1118

1219
### Changed
1320
- Updated copyrights to 2021
1421

1522
### Fixed
23+
- Generation of projecting queries to avoid selecting the same property twice
24+
- Optimize types outside of loop in find queries
25+
- Avoid creating extra stream when executing queries.
1626

17-
## 1.1.0 - 2020-12-20
27+
## [1.1.0] - 2020-12-20
1828
The initial release of Oracle NoSQL SDK for Spring Data.

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Oracle NoSQL Database SDK for Spring Data 1.1.1-SNAPSHOT
1+
# Oracle NoSQL Database SDK for Spring Data 1.2.0
22

33
## About
44

@@ -11,31 +11,29 @@ cluster or to
1111

1212
## Usage
1313

14-
* Download the latest release from
15-
[Oracle NoSQL Database downloads](https://www.oracle.com/database/technologies/nosql-database-server-downloads.html)
16-
page.
17-
18-
* Manually install the downloaded project into your local maven repository
19-
(-sources and -javadoc files are optional):
20-
21-
```
22-
mvn install:install-file \
23-
-DpomFile=spring-data-oracle-nosql-x.y.z.pom \
24-
-Dfile=spring-data-oracle-nosql-x.y.z.jar \
25-
-Dsources=spring-data-oracle-nosql-x.y.z-sources.jar \
26-
-Djavadoc=spring-data-oracle-nosql-x.y.z-javadoc.jar
27-
```
28-
2914
* To use the SDK in your project add maven dependency to your project's pom.xml:
3015

3116
```xml
3217
<dependency>
3318
<groupId>com.oracle.nosql.sdk</groupId>
3419
<artifactId>spring-data-oracle-nosql</artifactId>
35-
<version>x.y.z</version>
20+
<version>1.2.0</version>
3621
</dependency>
3722
```
3823

24+
Note: Packages can be manually installed in a local maven repository by
25+
downloading from
26+
[releases page](https://github.com/oracle/nosql-spring-sdk/releases), and
27+
running the following command (-sources and -javadoc files are optional):
28+
29+
```
30+
mvn install:install-file \
31+
-DpomFile=spring-data-oracle-nosql-1.2.0.pom \
32+
-Dfile=spring-data-oracle-nosql-1.2.0.jar \
33+
-Dsources=spring-data-oracle-nosql-1.2.0-sources.jar \
34+
-Djavadoc=spring-data-oracle-nosql-1.2.0-javadoc.jar
35+
```
36+
3937
* The example below also requires an additional dependency:
4038

4139
```xml
@@ -275,6 +273,8 @@ Tests can be also be run on:
275273
276274
## Help
277275
276+
* [API documentation](https://oracle.github.io/nosql-spring-sdk/)
277+
* [Developer's Guide](https://docs.oracle.com/en/database/other-databases/nosql-database/20.3/java-driver-table/spring-sdk1.html)
278278
* Open an issue in the [Issues](https://github.com/oracle/nosql-spring-sdk/issues) page
279279
* Post your question on the [Oracle NoSQL Database Community](https://community.oracle.com/community/groundbreakers/database/nosql_database).
280280
* [Email to nosql\_sdk\_help\_grp@oracle.com](mailto:nosql_sdk_help_grp@oracle.com)

RELEASE_NOTES.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ The Oracle NoSQL SDK for Spring Data requires at least Java SE 8. It has been
1616
tested with Spring Framework version 5.2.9 and with Spring Data version 2.3.4.
1717

1818

19+
= New Features in v1.2.0 =
20+
21+
- Support for projection on derived queries. Returned type, instance or
22+
class, must be a subset of entity type properties. Only the top level properties
23+
of the entity are selected in the projection. Note: Projections using @Value
24+
annotations are not supported. Dynamic projections, when returns type is
25+
parametrized, are also not supported.
26+
- Support for IgnoreCase and AllIgnoreCase keywords for derived query methods.
27+
- Support for fields of Java enumeration types.
28+
29+
1930
= Supported Features in v1.1.0 =
2031

2132
- Generic CRUD operations on a repository using methods in the CrudRepository
@@ -29,7 +40,6 @@ interface. See <link: https://docs.spring.io/spring-data/commons/docs/current/ap
2940

3041
= Known Issues =
3142

32-
- Limited functionality when connected to Oracle NoSQL Cloud Service.
3343
- Automatic generation of UUID for String fields is not available in Cloud
3444
service. The workaround is to have "@NosqlId(generated = false)" and application
3545
should make sure the field has a valid value when used.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.oracle.nosql.sdk</groupId>
88
<artifactId>spring-data-oracle-nosql</artifactId>
9-
<version>1.1.2-SNAPSHOT</version>
9+
<version>1.2.0</version>
1010

1111
<name>Oracle NoSQL Database SDK for Spring Data</name>
1212
<description>Oracle NoSQL Database SDK for Spring Data</description>

0 commit comments

Comments
 (0)