0 Replies Latest reply on Jan 12, 2004 3:27 PM by mvd

    How to Cast a Proxy Object?

    mvd Newbie

      I've got problems with the Communication between my Session Bean and an Entity Bean (on JBOSS3.2.2RC4). The Session Bean calls a findByxx() Method from the Entity wich retruns a Collection filled with Primary Key Class Instances.

      Now I'm not able to cast these Instances back to the Primary Class Typ without receiving a ClassCastException.

      The SessionFacade receives some Proxy Object and I don't now how I get my Primary Key Instances out of it.