Hi,
I have a BMP entity bean Hotel.
In the ejbLoad() method, I use the expression
HotelPK pk = (HotelPK) this.context.getPrimaryKey();
to get the primary key of the instance.
But I obtain a ClassCastException saying that this.context.getPrimaryKey() returns a java.util.Vector
(and I can enumerate over the elements of this Vector, they have the type HotelPK).
Why????
Thanks you