There are two main issues that our previous MyBatis Plugin can’t handle properly.
Let’s see what’s are these.
MyBatis Plugin can’t parse dynamic SQL in Java annotation which causes many unexpected errors like this:
MyBatis Plugin can’t parse dynamic SQL which causes that some syntax errors are ignored.
MinBatis can parse dynamic SQL well.
It trims/inserts appropriate tokens according to the semantic of dynamic tags (e.g. trim tag).
MinBatis supports dynamic SQL in Java annotation.
MinBatis parses dynamic SQL properly.
As we’ll see that some other features are implemented based on the correctly parsed dynamic SQL.