Skip to content

Conversation

@tnicolas29200
Copy link

The goal of this pullrequest is to permit the call of static functions form the ProviderSqlSource rather than instanciate a bean before calling the function.

I have just added the test to know if the function is a static function or not and invoke the function without an instance if the function is static.

kazuki43zoo added a commit to kazuki43zoo/mybatis-3 that referenced this pull request Nov 7, 2017
@kazuki43zoo
Copy link
Member

Hi @tnicolas29200 , Thanks for your contribution. I think this change is a reasonable suggestion. However, this PR supports only no argument method. I will submit #1131 that supports allowed method argument patterns.

kazuki43zoo added a commit that referenced this pull request Nov 8, 2017
Allow calling a static provider method without instantiation
kazuki43zoo added a commit to kazuki43zoo/mybatis-3 that referenced this pull request Nov 14, 2017
pulllock pushed a commit to pulllock/mybatis-3 that referenced this pull request Oct 19, 2023
pulllock pushed a commit to pulllock/mybatis-3 that referenced this pull request Oct 19, 2023
Allow calling a static provider method without instantiation
pulllock pushed a commit to pulllock/mybatis-3 that referenced this pull request Oct 19, 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.

3 participants