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

Inspection for mismatch of mapper interface and xml #2

Open
eekboom opened this issue May 18, 2012 · 2 comments
Open

Inspection for mismatch of mapper interface and xml #2

eekboom opened this issue May 18, 2012 · 2 comments
Assignees

Comments

@eekboom
Copy link

eekboom commented May 18, 2012

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.

@ishchenko
Copy link
Owner

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.

@eekboom
Copy link
Author

eekboom commented Aug 17, 2012

Thanks!
I think the inspection should be enabled by default. I only found out about it now when I read your comment.

@ghost ghost assigned ishchenko Apr 25, 2013
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

2 participants