blob: 206410ce04b93bb3564d8b186dbb120b5e49cc8b [file] [log] [blame]
The query-method element is used to specify the method (DB/SR/CM-"on the home") for a finder or
select query.
The method-name element specifies the name of a finder or select
method in the entity bean's implementation class or a select method in
the dependent object class.
Each method-param must be defined for a query-method using the
method-params element.
Used in: query
Example:
Example:
<query>
<description>Method finds large orders</description>
<query-method>
<method-name>findLargeOrders</method-name>
<method-params></method-params>
</query-method>
<ejb-ql>SELECT ENTITY(o) FROM Order o WHERE o.amount &gt; 1000</ejb-ql>
</query>