Hi!
 
Has anybody ever had a ClassCastException ?
 
My Finder-Method findByName returns a collection
of "Person" Objects. When I try to display the data of one person via while-loop and EJBPerson p = (EJBPerson)collection.iterator().next; jBoss keeps quite, does its work as if nothing had happened my client prints "java.lang.ClassCastException: $Proxy5".
 
Anybody?
TIA,
Bjarne

Reply via email to