Oops... silly we. Same mistake, same conclusion.
JMi
----Original Message Follows----
From: Todd Huss <[EMAIL PROTECTED]>
Silly me, I just read the spec and realized my mistake, that the container
converts the PK's to remote interfaces.
-Todd
On Mon, 29 Jan 2001, Todd Huss wrote:
> I have a BMP entity bean with a finder method that returns an Enumeration
> of Primary Key objects. On the bean side I can even check the Enumeration
> and see that it really is an enumeration of PK objects by doing a
> pk.getClass().getName() on each pk object.
>
> On the client side though, I get the enumeration back and begin to call
> "MyTablePK pk = (MyTablePK)e.nextElement();" but immediately get a class
> cast exception. I changed the code to do a getClass().getName() on the
> objects in the enumeration and they are no longer MyTablePK objects on
the
> client side but rather $Proxy1, $Proxy2, etc...
>
> Any suggestions or ideas?
>
> Thanks,
> Todd
>
>
>
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]