azure-sdk-for-java icon indicating copy to clipboard operation
azure-sdk-for-java copied to clipboard

Add support for @Transient annotation in Spring Data Cosmos

Open TheovanKraay opened this issue 10 months ago • 11 comments

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.

TheovanKraay avatar Apr 17 '24 18:04 TheovanKraay

API change check

APIView has identified API level changes in this PR and created following API reviews.

com.azure:azure-spring-data-cosmos

azure-sdk avatar Apr 23 '24 15:04 azure-sdk

/azp run java - spring - tests

TheovanKraay avatar Apr 24 '24 18:04 TheovanKraay

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Apr 24 '24 18:04 azure-pipelines[bot]

/azp run java - spring - tests

TheovanKraay avatar Apr 25 '24 17:04 TheovanKraay

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Apr 25 '24 17:04 azure-pipelines[bot]

/azp run java - spring - tests

TheovanKraay avatar Apr 26 '24 16:04 TheovanKraay

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Apr 26 '24 16:04 azure-pipelines[bot]

/azp run java - spring - tests

TheovanKraay avatar May 17 '24 19:05 TheovanKraay

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar May 17 '24 19:05 azure-pipelines[bot]

/azp run java - spring - tests

TheovanKraay avatar May 17 '24 21:05 TheovanKraay

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar May 17 '24 21:05 azure-pipelines[bot]

/azp run java - spring - tests

kushagraThapar avatar May 23 '24 16:05 kushagraThapar

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar May 23 '24 16:05 azure-pipelines[bot]

https://github.com/Azure/azure-sdk-for-java/issues/38449

TheovanKraay avatar May 24 '24 12:05 TheovanKraay