2017年2月20日

懒加载数据

摘要: 员工:${emp.empName }<br /> 部门:${emp.dept.name } 1、在service层获得数据 2、关闭懒加载 通过员工获得所在部门的名称,则在员工方设置。 <many-to-one name="dept" column="dept_id" class="Dept" la 阅读全文

posted @ 2017-02-20 22:05 hgfs瑞 阅读(90) 评论(0) 推荐(0) 编辑

MyEclipse编辑xml文件没有提示

摘要: 编辑bean*.xml 1、找到Window >Preferences >MyEclipse >Files and Editors >XML >xml Catalog. 2、点击右上角的add 注意本次key type:选择Schema location 3、选择File System.. 找spr 阅读全文

posted @ 2017-02-20 17:18 hgfs瑞 阅读(177) 评论(0) 推荐(0) 编辑

导航