codingapi / codingapi/dubbo-lcn-demo

dubbo-lcn-demo:mybatis-demo /0 后会有一条数据luo ku

Open
#2 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
40
Forks
33
PR merge metrics
No merged PRs in 30d

Description

服务启动都正常,就是访问 http://127.0.0.1:8080/save 时候报/0的500,然后数据库还插入了mybatis_demo2一条数据。。。请问会是什么原因?

另外,我看这个demo模块里所有的service方法都没加TxTransaction注解,是不需要加吗(加了也没成功)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported 500 response when accessing http://127.0.0.1:8080/save and inspect the demo module's service methods. Trace why a row is inserted into mybatis_demo2 despite the failure, and determine whether those methods require the TxTransaction annotation. Done means the cause and transaction behavior are clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.