spring-projects / spring-projects/spring-data-couchbase

5.x migration guide

Open
#1,326 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: documentation
Dominant language
Java
Stars
284
Forks
197
PR merge metrics
No merged PRs in 30d

Description

  1. change in semantics of save() - insert vs. replace vs. upsert based on @Version (cas) existing, having a non-zero value.

  2. CasMismatchException maps to OptimisticLockingFailureException instead of DataIntegrityViolationException

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the 5.x migration guide in the repository and review its existing migration notes. Document the save() semantics involving @Version and the changed mapping from CasMismatchException to OptimisticLockingFailureException; done means both migration changes are clearly described.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.