Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix @DSTransactional 无法获取注解属性|统一属性解析逻辑 #543

Merged
merged 1 commit into from
Aug 11, 2023
Merged

Conversation

ZPZP1
Copy link
Contributor

@ZPZP1 ZPZP1 commented Aug 9, 2023

What kind of change does this PR introduce? (check at least one)

  • [ √] Bugfix
  • Feature
  • [√ ] Code style
  • Refactor
  • Doc
  • Other, please describe:

The description of the PR:
修复@DSTransactional 无法获取类|接口|接口方法的注解属性,统一注解属性解析逻辑并将DataSourceClassResolver类中获取注解元信息的AnnotatedElementUtils.getMergedAnnotationAttributes()方法改为findMergedAnnotationAttributes(),前者不能获取到接口方法的注解元信息,导致可能导致切点切到但获取不到信息的情况。

Other information:
#542

@huayanYu huayanYu merged commit d9f2bd0 into baomidou:master Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants