hibernate(四)一对多关联

案例:级联新增、级联查询 注意:在Hibernate当中定义实体对象的集合属性时,只能使用接口而不能使用类 数据库表: // -- 订单表(主表) // create table t_hibernate_order // ( // order_id int primary key auto_increment, // order_no varchar(50) not null // );
相关文章
相关标签/搜索