Hi all,
I'm getting an EJB spec violation warning on deployment:
"2003-06-09 19:23:44,734 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
Bean : MyBean
Method : public abstract Collection findDynamically(String, Object;) throws FinderException
Section: 10.5.6
Warning: Every finder method except findByPrimaryKey(key) must be associated with a query element in the deployment descriptor."
I'm using dynamic JBossQL in the query for findDynamically(), so I don't have an EBJ-QL query defined.
What is the correct way to use JBossQL w/ finder rather than EJB-QL. Should the finder not even be declared in ejb-jar.xml (the XDoclet docs say for @jboss.query to work, @ejb.finder MUST be defined as well).
Does one just set the verifier strictness for the EJBDeployer to false in jboss-service.xml?
Dave
- [JBoss-user] Add an index to a table on deployment Brian McSweeney
- Re: [JBoss-user] Add an index to a table on deploym... Alexey Loubyansky
- Re: [JBoss-user] Add an index to a table on dep... Brian McSweeney
- Re: [JBoss-user] Getting rid of "spec viol... DavidNeuer
- Re: [JBoss-user] Getting rid of "spec ... DavidNeuer
- Re: [JBoss-user] Getting rid of "spec ... DavidNeuer
- RE: [JBoss-user] Getting rid of "s... Mark.Gargan
- RE: [JBoss-user] Add an index to a table on deploym... Rupp,Heiko
- Re: [JBoss-user] Add an index to a table on dep... Brian McSweeney
