Skip to content

Change to Variable-length argument from array argument on SqlSessionFactoryBean #380

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

Merged
merged 1 commit into from
May 2, 2019

Conversation

kazuki43zoo
Copy link
Member

@kazuki43zoo kazuki43zoo commented May 2, 2019

Variable-length arguments work well with JavaConfig.

  • Variable-length argument (simple 👍 )
factory.setTypeHandlers(new MyTypeHandler());
  • Array argument (redundant 😢)
factory.setTypeHandlers(new TypeHandler[]{new MyTypeHandler()});

@kazuki43zoo kazuki43zoo added the polishing Improve a implementation code or doc without change in current behavior/content label May 2, 2019
@kazuki43zoo kazuki43zoo added this to the 2.0.2 milestone May 2, 2019
@kazuki43zoo kazuki43zoo self-assigned this May 2, 2019
@kazuki43zoo kazuki43zoo merged commit 2c0616b into mybatis:master May 2, 2019
@kazuki43zoo kazuki43zoo deleted the variable-length-argument branch May 2, 2019 15:45
@kazuki43zoo kazuki43zoo added enhancement Improve a feature or add a new feature and removed polishing Improve a implementation code or doc without change in current behavior/content labels May 2, 2019
pulllock pushed a commit to pulllock/mybatis-spring that referenced this pull request Oct 19, 2023
Change to Variable-length argument from array argument on SqlSessionFactoryBean
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