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

Avoid invoking equals/hashCode when assigning generated keys #1728

Merged
merged 1 commit into from Nov 12, 2019

Commits on Nov 11, 2019

  1. Avoid invoking equals/hashCode when assigning generated keys

    When detecting single parameter case, it now checks parameter name instead of equality of the parameter objects.
    This should fix mybatisgh-1719.
    
    A caveat : when there is only one parameter and its name is 'param2' (for whatever reason), `keyProperty` must include the parameter name i.e. `keyProperty="param2.xx"`.
    harawata committed Nov 11, 2019
    Configuration menu
    Copy the full SHA
    3496397 View commit details
    Browse the repository at this point in the history