摘要: 1.通过js实现单选 function selectOne(obj,objCheckBox) { for ( var i = 0; i 搜索1 搜索2 搜索3 ... 阅读全文
posted @ 2013-06-13 17:09 若 ♂ 只如初见 阅读(2880) 评论(0) 推荐(0) 编辑
摘要: 对于EJB懒加载时,由于没有hibernate中的opensessionview,那么需要在会话结束之前就加载数据,可以选择在dao层实现,代码如下:public TBLDeliveryWarrant find1(String id) throws ServiceException { try { TBLDeliveryWarrant deliveryWarrant = deliveryWarrantDao.find(id); Set<TBLGoods> goods = deliveryWarrant.getGoods(); if (goods != null && 阅读全文
posted @ 2013-06-13 10:54 若 ♂ 只如初见 阅读(300) 评论(0) 推荐(0) 编辑