apache / apache/incubator-seata
实体save成功后对应的自增id未空,去掉事务后是正常的!
Open
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
springboot + mybatis-plus
实体id设置为自增,save后实体的id为空,去掉事务后正常!!!
Contributor guide
Research direction
No source files or tests are named. Start by reproducing the Spring Boot and MyBatis-Plus save operation with an auto-increment entity inside and outside a transaction, then compare how the generated ID is handled. Done means the entity receives its generated ID after save while the transaction is active.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend, database, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100