Replies: 1 comment
-
mybatis does not support method overload, so close it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am developing an interceptor for mybatis, and I need to known which mapper method is called inside the interceptor.
But the only information I can get is the MappedStatement's id something like this
com.example.Mapper.findXXX
. However, if the mapper interface defined several methods with the same method name (method overload), I can't tell which one is being called.So is there any way to find out the origin mapper method inside the interceptor?
Beta Was this translation helpful? Give feedback.
All reactions