Spring and MyBatis integrate error logging

Sometimes a unified alias is configured for convenience during the configuration file process. in the mapping xml

Using the full name is generally not an error when loading the bean, but be careful when using the alias. exist

Beans in an inheritance relationship can use a uniform alias type, but if there is a single bean

At this time, resultType uses map or full name. All in all, dealing with the MyBatis return class

Type is to pay special attention to the type name. Otherwise it will come out

Now org.apache.ibatis.builder.BuilderException: such an exception.











Only personal summary, limited ability.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326322601&siteId=291194637