azure-sdk-for-java
azure-sdk-for-java copied to clipboard
Add support for @Transient annotation in Spring Data Cosmos
Description
Entity fields that have @Transient
annotation will not be persisted to the database when using save(), saveAll(), and upsert(), but will continue to be serialized in the entity object returned from those methods.
All SDK Contribution checklist:
- [x] The pull request does not introduce [breaking changes]
- [x] CHANGELOG is updated for new features, bug fixes or other significant changes.
- [x] I have read the contribution guidelines.
General Guidelines and Best Practices
- [x] Title of the pull request is clear and informative.
- [x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.
Testing Guidelines
- [x] Pull request includes test coverage for the included changes.
API change check
APIView has identified API level changes in this PR and created following API reviews.
/azp run java - spring - tests
Azure Pipelines successfully started running 1 pipeline(s).
/azp run java - spring - tests
Azure Pipelines successfully started running 1 pipeline(s).
/azp run java - spring - tests
Azure Pipelines successfully started running 1 pipeline(s).
/azp run java - spring - tests
Azure Pipelines successfully started running 1 pipeline(s).
/azp run java - spring - tests
Azure Pipelines successfully started running 1 pipeline(s).
/azp run java - spring - tests
Azure Pipelines successfully started running 1 pipeline(s).
https://github.com/Azure/azure-sdk-for-java/issues/38449