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.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875684#3875684

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875684


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to