alibaba / alibaba/arthas

mybatis的ServiceImpl对应方法如何查看执行SQL?

Open
#2,983 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
37.5k
Forks
7.6k
Avg merge
1d 22h
Merged PRs (30d)
4

Description

请问,我有一个Service继承了mybatis的ServiceImpl,在我通过 xxxservice.list(XX)方法执行时我如何才能查看到对应的执行的SQL?

Contributor guide

Open the contributing guide

Research direction

No repository file, test, or Arthas entry point is named; begin by identifying how the reported ServiceImpl.list(XX) call is executed and whether Arthas has a relevant tracing or diagnostic command. The issue is complete only when the supported way to view the SQL, including any required configuration or limitations, is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.