Hi everyone, I'm having some problems with a finder method, this method work when I set the return type to Collection, but when I set it to Set a ClassCastException occurs, I want to use a Set to return unique values, but I cannot make it work, anyone have aany advice?
Set sP = oHome.findPropertiesUnique(); // This is the home object calling the finder
public Set findPropertiesUnique () throws FinderException, RemoteException; // This is the finder method declaration;
the ejb-ql is working because with Collection returns all elements in the table. Hope someone can help. Thanks
Hector.