Peter Braswell wrote: > > All, > Using JBOSS_2.0_FINAL I'm having difficulty casting > the results of a ejbFind* to my primary key type > (AccountPK). I get a 'ClassCastException: $Proxy1'. Hi Peter, The find methods return an instance (or instances) of the remote interface, not the primary key type. So cast to "Account" and your code will be OK. Luke. -- Luke Taylor. PGP Key ID: 0x57E9523C -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [EMAIL PROTECTED]
- [jBoss-User] Is it Me? BMP casting problem. Peter Braswell
- Re: [jBoss-User] Is it Me? BMP casting problem. Rickard �berg
- [jBoss-User] Stupid, stupid, stupid! was Is it Me? BM... Peter Braswell
- Re: [jBoss-User] Is it Me? BMP casting problem. Chris Winters
- Re: [jBoss-User] Is it Me? BMP casting problem. Luke Taylor
- Re: [jBoss-User] Is it Me? BMP casting problem. Vincent Harcq
- Re: [jBoss-User] Is it Me? BMP casting problem. Rafizan Baharum
- Re: [jBoss-User] Is it Me? BMP casting problem. Tim Yates
- Re: [jBoss-User] Is it Me? BMP casting problem. Ole Husgaard
- Re: [jBoss-User] Is it Me? BMP casting problem. Toby Allsopp
- Re: [jBoss-User] Is it Me? BMP casting problem. Alexander Kogan
- RE: [jBoss-User] Is it Me? BMP casting problem. Castro, David
- [jBoss-User] testing 1 2 3 David Rothman
- RE: [jBoss-User] Is it Me? BMP casting problem. Bordet, Simone
