Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use typeAliases tag and package tag in Mybatis

Shulou Source: shulou.com Published: 2022-06-03 08:34:32 11月15日 Update

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!

Tags: Tags files configurations aliases attributes articles three size finished entities more knowledge class names details industry information information channels channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Information Shulou Tech Info Shulou Technology Microsoft