摘要:
1.通过js实现单选 function selectOne(obj,objCheckBox) { for ( var i = 0; i 搜索1 搜索2 搜索3 ... 阅读全文
摘要:
对于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 && 阅读全文