Hello ! Can some one tell me why on this query * @ejb.finder * signature="java.util.Collection findByActivityEnabled(String activityCode)" * query="SELECT OBJECT(center) FROM WaActivityCenter center WHERE (center.activities.code = ?1) AND (center.status > 0)" * result-type-mapping="Local" * @jboss.query * signature="java.util.Collection findByActivityEnabled(String activityCode)" * query="SELECT OBJECT(center) FROM WaActivityCenter center WHERE (center.activities.code = ?1) AND (center.status > 0) ORDER BY center.description" * result-type-mapping="Local" * strategy="on-load" * page-size="10"
during deployment I've the following error message? 08:06:55,473 WARN [verifier] EJB spec violation: Bean : ActivityCenter Method : public abstract Collection findByActivityEnabled(String) throws FinderException Section: 10.5.6 Warning: Every finder method except findByPrimaryKey(key) must be associated with a query element in the deployment descriptor. Centers and Activities are connected in a many to many relation in ca_rel table ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user