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)
Collection getCompanyStakeholders(long companyId) throws ; } Annegret > -Original Message- > From: Nicolai P Guba [SMTP:[EMAIL PROTECTED]] > Sent: Dienstag, 31. Juli 2001 12:23 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] java.lang.ClassCastException: $Proxy3

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

2001-07-31 Thread Nicolai P Guba
A small problem with BMP. I need some methods to return large amounts of data. I noticed that initializing a new entity bean for every single data item (there are more than 50,000 rows), is very time consuming and not really required in this scenario. So I switched to BMP and defined the follow