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]

Reply via email to