Thursday, September 19, 2002 08:27 AM
The customFinder methods in CMP EJBs for WebSphere must return the EJB's remote interface or an Enumeration, if the search can retrieve more than one row. To get the elements in the Enumeration we use casting in the nextElement method. Of course, after checking the hasMoreElements.
This casting we do using the EJB's remote interface, only to find a ClassCastException. Instead of the remote interface the nextElement returns a
What we are trying to know actually is, why?. Once we know the answer maybe we'll be able to find what to do about it, so if anyone knows how to help us, please tell us before we go crazy.
Thanks a lot.