|
Hi,
From the samples (AccountBean) * @ejb:finder signature="Collection findLargeAccounts(int balance)" role-name="Teller,IRS" * @jboss:finder-query name="findLargeAccounts" query="$1 > 1000" order="balance" read-ahead="true" is that what you're doing?
cheers
dim
----- Original Message ----- From: Boris Tamarkin To: 'Dmitri Colebatch' ; [EMAIL PROTECTED] Sent: Thursday, April 18, 2002 3:16 AM Subject: RE: [Xdoclet-user] @jboss:finder-query doesn't modify home interface Thanks for help However still not works. I provided just @ejb:finder signature="java.util.Collection findThisThatOrWhatever()" Without query itself in @ejb:finder In ejb-jar.xml the query for that finder doesn't exists, it is available only in jaws.xml I am receiving error while try call this finder: ERROR [STDERR] javax.ejb.FinderException: Unknown query: Do I need provide query in that @ejb:finder as well? However then container doesn't see query from jaws, only from ejb-jar.xml :( Forgot to mention, I am using JBoss3.0 beta2 Thanks -----Original Message----- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 7:32 PM To: Boris Tamarkin; [EMAIL PROTECTED] Subject: Re: [Xdoclet-user] @jboss:finder-query doesn't modify home interface > When jboss custom finder declared with @jboss:finder-query, xdoclet modifies > jaws.xml when <@jboss/> specified in build. > However the home interfaces (local and remote) without change. > It means that that finder is not exposed. all @jboss:finder-query does is specify config for jaws.xml. To expose the methods, you'll still need @ejb:finder signature="java.util.Collection findThisThatOrWhatever()" hope that helps cheers dim > Any possible solutions? > Thanks > |
Title: RE: [Xdoclet-user] @jboss:finder-query doesn't modify home interface
- [Xdoclet-user] @jboss:finder-query doesn't modify home i... Boris Tamarkin
- Re: [Xdoclet-user] @jboss:finder-query doesn't modi... Dmitri Colebatch
- RE: [Xdoclet-user] @jboss:finder-query doesn't modi... Boris Tamarkin
- RE: [Xdoclet-user] @jboss:finder-query doesn't ... Dmitri Colebatch
- RE: [Xdoclet-user] @jboss:finder-query does... Enrique Rodriguez
- RE: [Xdoclet-user] @jboss:finder-query doesn't modi... Boris Tamarkin
- Re: [Xdoclet-user] @jboss:finder-query doesn't ... Dmitri Colebatch
