摘要:
@OneToMany(cascade={CascadeType.REFRESH,CascadeType.REMOVE},mappedBy="parent",fetch=FetchType.EAGER)private Set childTypes = new HashSet();这个是懒加载异常,就是... 阅读全文
posted @ 2015-02-03 11:41
_启明
阅读(547)
评论(0)
推荐(0)
摘要:
错误写法: cxt = new ClassPathXmlApplicationContext(); productService = (ProductService)cxt.getBean("productTypeServiceBean"); 正确写法: cxt = n... 阅读全文
posted @ 2015-02-03 11:17
_启明
阅读(7570)
评论(0)
推荐(0)

浙公网安备 33010602011771号