Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 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–45 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.