Skip to content

Commit

Permalink
Merge pull request #5 from oracle/release/release-1.2
Browse files Browse the repository at this point in the history
Prepare for release v1.2.0.
  • Loading branch information
cezarfx authored Apr 16, 2021
2 parents 5b077b0 + af70105 commit 4c5df87
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 22 deletions.
16 changes: 13 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,26 @@ All notable changes to this project will be documented in this file.

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

## Unpublished
## [Unreleased]

## [1.2.0] - 2021-04-06
### Added
- Exception message for instantiate failures
- New profile in pom.xml for cloud testing
- Support for fields of type java enumeration
- Support for IgnoreCase and AllIgnoreCase keywords in derived query method
names.
- Projections
- Implemented support for projections to POJOs with limited set of fields
and interfaces.
and interfaces.

### Changed
- Updated copyrights to 2021

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

## 1.1.0 - 2020-12-20
## [1.1.0] - 2020-12-20
The initial release of Oracle NoSQL SDK for Spring Data.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Oracle NoSQL Database SDK for Spring Data 1.1.1-SNAPSHOT
# Oracle NoSQL Database SDK for Spring Data 1.2.0

## About

Expand All @@ -11,31 +11,29 @@ cluster or to

## Usage

* Download the latest release from
[Oracle NoSQL Database downloads](https://www.oracle.com/database/technologies/nosql-database-server-downloads.html)
page.

* Manually install the downloaded project into your local maven repository
(-sources and -javadoc files are optional):

```
mvn install:install-file \
-DpomFile=spring-data-oracle-nosql-x.y.z.pom \
-Dfile=spring-data-oracle-nosql-x.y.z.jar \
-Dsources=spring-data-oracle-nosql-x.y.z-sources.jar \
-Djavadoc=spring-data-oracle-nosql-x.y.z-javadoc.jar
```

* To use the SDK in your project add maven dependency to your project's pom.xml:

```xml
<dependency>
<groupId>com.oracle.nosql.sdk</groupId>
<artifactId>spring-data-oracle-nosql</artifactId>
<version>x.y.z</version>
<version>1.2.0</version>
</dependency>
```

Note: Packages can be manually installed in a local maven repository by
downloading from
[releases page](https://github.com/oracle/nosql-spring-sdk/releases), and
running the following command (-sources and -javadoc files are optional):

```
mvn install:install-file \
-DpomFile=spring-data-oracle-nosql-1.2.0.pom \
-Dfile=spring-data-oracle-nosql-1.2.0.jar \
-Dsources=spring-data-oracle-nosql-1.2.0-sources.jar \
-Djavadoc=spring-data-oracle-nosql-1.2.0-javadoc.jar
```

* The example below also requires an additional dependency:

```xml
Expand Down Expand Up @@ -275,6 +273,8 @@ Tests can be also be run on:
## Help
* [API documentation](https://oracle.github.io/nosql-spring-sdk/)
* [Developer's Guide](https://docs.oracle.com/en/database/other-databases/nosql-database/20.3/java-driver-table/spring-sdk1.html)
* Open an issue in the [Issues](https://github.com/oracle/nosql-spring-sdk/issues) page
* Post your question on the [Oracle NoSQL Database Community](https://community.oracle.com/community/groundbreakers/database/nosql_database).
* [Email to nosql\_sdk\_help\_grp@oracle.com](mailto:nosql_sdk_help_grp@oracle.com)
Expand Down
12 changes: 11 additions & 1 deletion RELEASE_NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ The Oracle NoSQL SDK for Spring Data requires at least Java SE 8. It has been
tested with Spring Framework version 5.2.9 and with Spring Data version 2.3.4.


= New Features in v1.2.0 =

- Support for projection on derived queries. Returned type, instance or
class, must be a subset of entity type properties. Only the top level properties
of the entity are selected in the projection. Note: Projections using @Value
annotations are not supported. Dynamic projections, when returns type is
parametrized, are also not supported.
- Support for IgnoreCase and AllIgnoreCase keywords for derived query methods.
- Support for fields of Java enumeration types.


= Supported Features in v1.1.0 =

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

= Known Issues =

- Limited functionality when connected to Oracle NoSQL Cloud Service.
- Automatic generation of UUID for String fields is not available in Cloud
service. The workaround is to have "@NosqlId(generated = false)" and application
should make sure the field has a valid value when used.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.oracle.nosql.sdk</groupId>
<artifactId>spring-data-oracle-nosql</artifactId>
<version>1.1.2-SNAPSHOT</version>
<version>1.2.0</version>

<name>Oracle NoSQL Database SDK for Spring Data</name>
<description>Oracle NoSQL Database SDK for Spring Data</description>
Expand Down

0 comments on commit 4c5df87

Please sign in to comment.