-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
ExecutorException: No setter found for the keyProperty 'id' #902
Comments
Could you please create a demo project including the configuration so that we can reproduce the issue quickly and reliably? |
Hi @MikeMitterer, Probably, This issue related with #782. I have a one question. Why did you set |
#782 explains it, it seems. |
We've got another report on the mailing list. |
I didn't know that, but there is a default value for Although it is not ideal, we have to revert #782 for now, I think. [1] In PostgreSQL, |
This should be fixed in the latest 3.4.5-SNAPSHOT . |
It causes a problem like mybatis#902 and makes it difficult to handle errors in Jdbc3KeyGenerator.
Throw exception when keyProperty is not found. Originally developed by @kazuki43zoo in #782 . But reverted in #1073 to workaround #902 .
It causes a problem like mybatis#902 and makes it difficult to handle errors in Jdbc3KeyGenerator.
Throw exception when keyProperty is not found. Originally developed by @kazuki43zoo in mybatis#782 . But reverted in mybatis#1073 to workaround mybatis#902 .
MyBatis version
3.4.2
Database vendor and version
PostgreSQL 9.6.1
Test case or example project
This line produces to above error:
It's true that TicketTO has no "id" but this should be valid!
It works with 3.4.1 but fails with 3.4.2
The text was updated successfully, but these errors were encountered: