Mybatis of object relationships
Divided into one to one, one to many, and many-to-many. Detailed explanation of the relationship when there is a MySQL database multi-table queries.
And many-to-many details here CRUD.
Many-to
Directory Structure
Code Example: