Sun Java System Application Server Enterprise Edition 8.2 Developer's Guide

finder

Describes the finders for CMP 1.1 with a method name and query.

Superelements

one-one-finders (sun-ejb-jar.xml)

Subelements

The following table describes subelements for the finder element.

Table A–47 finder Subelements

Element  

Required  

Description  

method-name

only one 

Specifies the method name for the finder. 

query-params

zero or one 

Specifies the query parameters for the CMP 1.1 finder. 

query-filter

zero or one 

Specifies the query filter for the CMP 1.1 finder. 

query-variables

zero or one 

Specifies variables in query expression for the CMP 1.1 finder. 

query-ordering

zero or one 

Specifies the query ordering for the CMP 1.1 finder.