什么是Hibernate初学者最好的电子书?
java hibernate
Set cust = customer.getCustomerBills(); Iterator<Customer> seriter = (Iterator)cust;
当我迭代Set时,我正面临一个转换异常.
例外是:org.hibernate.collection.PersistentSet cannot be cast to java.util.Iterator.我究竟做错了什么?
org.hibernate.collection.PersistentSet cannot be cast to java.util.Iterator
java collections hibernate
hibernate ×2
java ×2
collections ×1