idea-mini-ibatis
idea-mini-ibatis copied to clipboard
Inspection for mismatch of mapper interface and xml
If a method in a mapper interface has no corresponding tag in the XML a warning would be very nice. Same for a mybatis select/update/delete tag without a corresponding java mapper method declaration.
I have implemented inspection for interface methods with no corresponding statements and having no MyBatis annotations attached. A quick fix would be nice, I'll try to provide one later. I have deployed the code to JetBrains repo, have a look when it goes public.
Thanks! I think the inspection should be enabled by default. I only found out about it now when I read your comment.