oops> instead of having to
oops> be duplicated in custom query sections of jboss.xml and, say,
oops> weblogic-ejb-jar.xml.

Sorry, I meant to say jaws.xml (or jbosscmp-jdbc.xml) and 
weblogic-cmp-rdbms-jar.xml, respectively...

--

David Ward wrote:
> Yes, it can also be used to override the sql that would have 
> automatically been created for you by jboss - even findAll().  I've done 
> that quite a few times for jboss 2.4.x.
> 
> Of course, if you're using EJB 2.0 instead of 1.1 (implying 
> jboss3.0rc2), I suggest you just use the @ejb:finder 
> signature="Collection findXXX()" query="SELECT OBJECT(a) FROM ..." 
> style, now that EJBQL is available.  (Reason is that now your custom 
> queries are in the app-server-agnostic ejb-jar.xml instead of having to 
> be duplicated in custom query sections of jboss.xml and, say, 
> weblogic-ejb-jar.xml.)
> 
> Hope this helps,
> David
> 
> -- 
> 
> Michael Delamere wrote:
> 
>> Hi,
>>
>> I�m not quite sure how to make use of the tag:
>>
>> @jboss:finder-query name="findFoo" query="foo = {1}" order="foo,bar"
>>
>> I understand what the above line does.  What I don�t understand is 
>> where to
>> put it.  Is this only for custom finder methods or can it also be used 
>> for
>> the findAll() method, i.e. so that it does a "select * from myTable 
>> order by
>> bla"?
>>
>> Any help would be really appreciated.
>>
>> Regards,
>>
>> Michael
>>
>>
>> _______________________________________________________________
>>
>> Don't miss the 2002 Sprint PCS Application Developer's Conference
>> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>>
>> _______________________________________________
>> Xdoclet-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 
> 
> 
> 



-- 

---------------------
David Ward
[EMAIL PROTECTED]
http://www.dotech.com


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to