原创 Mybatis學習筆記之多對一與一對多關係

Mybatis一對多關係 一、數據庫與數據表的建立 學生與班級是一對多的關係,首先創建一個學生表 create table tb_student( -> id int not null auto_increment, -