How to use typeAliases tag and package tag in Mybatis
Editor to share with you how to use typeAliases tags and package tags in Mybatis. I hope you will get something after reading this article. Let's discuss it together.
Use of typeAliases tags and package tags 1, typeAliases
Master profile:
Mapping profile:
2 、 package
Master configuration file
Mapping file is the same as above.
Description
Operation of package in mapper
There is also a tag in mapper, package
Properties,typeAliases The use and details of the three tags of package After reading this article I believe you have a certain understanding of "how to use typeAliases tags and package tags in Mybatis". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!