Home > Java > javaTutorial > body text

10 recommended content about configuration introduction

伊谢尔伦
Release: 2017-06-13 11:20:38
Original
1652 people have browsed it

In the previous article "In-depth introduction to the Mybatis series (2)---Configuration introduction (mybatis source code)", through a simple analysis of the mybatis source code, we can see that in the mybatis configuration file, under the configuration root node, you can Configure properties, typeAliases, plugins, objectFactory, objectWrapperFactory, settings, environments, databaseIdProvider, typeHandlers, and mappers nodes. So this time, we will first introduce the properties node and environments node. In order to allow everyone to better read the mybatis source code, I will give you a simple example of how to use properties. 1 2