hibernate(四)一對多關聯

案例:級聯新增、級聯查詢 注意:在Hibernate當中定義實體對象的集合屬性時,只能使用接口而不能使用類 數據庫表: // -- 訂單表(主表) // create table t_hibernate_order // ( // order_id int primary key auto_increment, // order_no varchar(50) not null // );
相關文章
相關標籤/搜索