-
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
Extended mapper cannot get result map from parent #174
Comments
Any progress here? I have the same problem using the a.m. "generic DAO" pattern - or is there a workaround? Any help will be highly appreciated! |
As far as I can see may be we can walk the class hierarchy up to method.getDecalredClass and get the first found mapped statement, if any? |
sorry for the comments above - I was refering to #35 |
Thank you for the suggestion, @themez ! But... And even without this, all you have to do is to specify the result map ID with its namespace, so it does not seem to be worth it. Regards, |
Thanks for clarification @harawata ! I think is reasonable. |
when call Child.selectByPrimaryKey. It will throw an exception:
I've looked into
MapperBuilderAssistant
maybe we can do similar modification as #35 ,
If not found in child namespace, then try to search in parent namespace?
The text was updated successfully, but these errors were encountered: