摘要:
org.hibernate.LazyInitializationException:failed to lazily initialize a collection of role:cn.its.oa.domain.Department.children,no session or session 阅读全文
摘要:
Set集合中的treeSet问题:cannot be cast to java.lang.Comparable; 原理: Set不保存重复的元素,与Collection类似,只是行为不同,Set是基于对象的值来确定归属性的。对结果排序,一般采用TreeSet。 TreeSet是依靠TreeMap来实 阅读全文