Set cust = customer.getCustomerBills();
Iterator<Customer> seriter = (Iterator)cust;
Ich bin mit einer Casting-Ausnahme konfrontiert, wenn ich auf Set iteriere.Casting-Ausnahme
Ausnahme ist: org.hibernate.collection.PersistentSet cannot be cast to java.util.Iterator
. Was mache ich falsch?