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

Support ProviderContext on sql provider method #1055

Merged
merged 2 commits into from
Jul 27, 2017

Conversation

kazuki43zoo
Copy link
Member

@kazuki43zoo kazuki43zoo commented Jul 16, 2017

Support accessing following types on sql provider method via ProviderContext .

  • Type of mapper interface
  • Method of mapper method

Fixes gh-1013

@kazuki43zoo kazuki43zoo force-pushed the gh-1013_sqlprovider branch from 01ee321 to 9510b70 Compare July 17, 2017 04:03
@kazuki43zoo kazuki43zoo added the enhancement Improve a feature or add a new feature label Jul 17, 2017
@kazuki43zoo kazuki43zoo self-assigned this Jul 17, 2017
@kazuki43zoo kazuki43zoo force-pushed the gh-1013_sqlprovider branch from 9510b70 to 207127d Compare July 24, 2017 05:45
@kazuki43zoo kazuki43zoo changed the title Support some reserved argument types on sql provider method Support ProviderContext on sql provider method Jul 24, 2017
@kazuki43zoo
Copy link
Member Author

kazuki43zoo commented Jul 24, 2017

I've update to provide type of mapper interface and method of mapper method via context object(ProviderContext).

@kazuki43zoo kazuki43zoo force-pushed the gh-1013_sqlprovider branch from 207127d to a3b11b2 Compare July 25, 2017 01:56
A ProviderContext instance holds type of mapper interface and mapper method that specified an sql provider annotation.

Fixes mybatisgh-1013
@kazuki43zoo kazuki43zoo merged commit 45712f3 into mybatis:master Jul 27, 2017
@kazuki43zoo kazuki43zoo deleted the gh-1013_sqlprovider branch July 27, 2017 00:31
@kazuki43zoo kazuki43zoo added this to the 3.4.5 milestone Jul 30, 2017
pulllock pushed a commit to pulllock/mybatis-3 that referenced this pull request Oct 19, 2023
Support ProviderContext on sql provider method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve a feature or add a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant