面渣逆袭Spring事务传播机制勘误

Open Beginner friendly
#218 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
80/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
java, spring
Domain
documentation

Research direction

Find the section on Spring transaction propagation in the guide and read the descriptions of NEVER and NOT_SUPPORTED. Add the missing NEVER behavior and update NOT_SUPPORTED to explain that it suspends an outer transaction, runs without a transaction, and resumes the outer transaction afterward. Done when both descriptions match the issue.

Written by the indexing model from the issue text.

Description

1、Spring事务传播机制增加一个 NEVER类型:外层有事务就抛异常;没有则正常执行(不开事务)
2、NOT_SUPPORTED类型修改描述为:有外层事务就挂起它,本方法在无事务状态下执行;结束后恢复外层

Dominant language
Java
Stars
17.8k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from itwanger/toBeBetterJavaer

All issues in itwanger/toBeBetterJavaer

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.