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

Unordered join not working #756

Open
danboch opened this issue Feb 4, 2021 · 1 comment
Open

Unordered join not working #756

danboch opened this issue Feb 4, 2021 · 1 comment

Comments

@danboch
Copy link

danboch commented Feb 4, 2021

Hi, we have a mapper defined like this:

JdbcMapperFactory.newInstance() .useAsm(false) .addKeys(ID, alias(OTHER_ID)) .unorderedJoin() .assumeInjectionModifiesValues(true) .newMapper(Some.class))

Although unorderedJoin is set, it does not work. When I debugged it turns out that in SetRowMapperBuilderImpl in mapper() method it returns the mapper created in line 117 (newJoinMapper). Shouldn't it return a newUnorderedJoinMapper like in line 130? Or am I missing something?

@danboch
Copy link
Author

danboch commented Feb 4, 2021

It seems that assumeInjectionModifiesValues(true) causes unOnordered join to be ignored.

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

No branches or pull requests

1 participant