julying wrote:
> i define an @ejb.finder in my class annotation like follows
>
> * @ejb.finder
> * view-type="both"
> * description="find all the Account"
> * signature="java.util.collection findAll()"
> * query="SELECT OBJECT(a) FROM Account a"
>
>
> according to the spec i think in my local and remote interfaces my have a
> finder method and it's return type may equal to
> Collection type! but it generated " public
> dev.entitybean.component.local.interfaces.AccountRemoteEntityComponent
> findAll()
> throws javax.ejb.FinderException,java.rmi.RemoteException;"
>
>
> thanks
Use the correct class name (first letter upper case): java.util.Collection.
P.S.: entity beans should only have a local interface. Use google and
search for "Session Facade".
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user