Did you write code for this query? It's my understanding that you never have to write any SQL or EJB-QL for either findAll() or findByPrimaryKey() If you have written some SQL or EJB-QL, maybe you are making problems for yourself.
public ComponentIntf findByPrimaryKey(primaryKeyDataType pk) throws RemoteException, FinderException; | in the Home interface should be enough to make it work. At least I've never done anything more than that and mine work all the time. Spoon View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873155#3873155 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873155 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
