SQL injection issue

I have developed a MyBatis plugin which injects SQL language into mapper XML. MyBatis can use XML tags to describe generate some SQL keyword. For example, MyBatis can use <set> tag to generate 'set' SQL section which may look like the code in the attachment. I want to know if there is an API that can make IDEA be aware of that 'set' statement so that there won't be any error highlighting just like the error in the attachment. Thanks.

 

0
3 comments
Avatar
Permanently deleted user

What's the error in the attachment, what exactly string do you inject and where to?

0

Syntax error as shown in the picture

0
Avatar
Permanently deleted user

what exactly string are you injecting? Can I see the code of the injector? 

0

Please sign in to leave a comment.