Home > Back-end >  For help on mybatis many-to-many
For help on mybatis many-to-many

Time:09-30

Many-to-many relationship mapping, you need to create the middle table, but if there are additional fields middle table, such as a many-to-many relationship between subject and students, need maintenance results in the table in the middle of this additional fields, in mybatis how to obtain the value of this field?

CodePudding user response:

Table design, mapper. XML is stuck

CodePudding user response:

Not and permissions design patterns as the same, to baidu role, user privilege, how to design the associated
  • Related