Home  >  Article  >  Java  >  10 recommended articles about environments

10 recommended articles about environments

黄舟
黄舟Original
2017-06-13 11:22:591168browse

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