diff --git a/CHANGELOG.md b/CHANGELOG.md index 6930259..814eaea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. \ No newline at end of file diff --git a/README.md b/README.md index 1fa82cc..dfb7a9d 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 com.oracle.nosql.sdk spring-data-oracle-nosql - x.y.z + 1.2.0 ``` + 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 @@ -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) diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt index 06fa7b6..2915e69 100644 --- a/RELEASE_NOTES.txt +++ b/RELEASE_NOTES.txt @@ -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 @@ -29,7 +40,6 @@ interface. See com.oracle.nosql.sdk spring-data-oracle-nosql - 1.1.2-SNAPSHOT + 1.2.0 Oracle NoSQL Database SDK for Spring Data Oracle NoSQL Database SDK for Spring Data