RE: [JBoss-user] java.lang.ClassCastException: $Proxy339

2001-07-31 Thread Nicolai P Guba
On 31 Jul 2001 15:58:46 +0200, Sternagel Annegret (PN-SYS/DAS) wrote: > The findBy... method should return a reference to the remote interface of > the entitybean (the ejbFindBy... the primarykey), on that remote interface > you can call a method to get the Collection. Cheers! You just saved my

RE: [JBoss-user] java.lang.ClassCastException: $Proxy339

2001-07-31 Thread Sternagel Annegret (PN-SYS/DAS)
The findBy... method should return a reference to the remote interface of the entitybean (the ejbFindBy... the primarykey), on that remote interface you can call a method to get the Collection. interface MyEBHome extends javax.ejb.EJBHome { public MyEB findByCompanyId(long companyId) thro