Sun GlassFish Enterprise Server v3 Prelude Application Deployment Guide

F

finder

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


Note –

This element is not implemented for GlassFish v3 Prelude.


Superelements

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

Subelements

The following table describes subelements for the finder element.

Table A–33 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. 

flush-at-end-of-method

Specifies the methods that force a database flush after execution. Applicable to entity beans.


Note –

This element is not implemented for GlassFish v3 Prelude.


Superelements

ejb (sun-ejb-jar.xml)

Subelements

The following table describes subelements for the flush-at-end-of-method element.

Table A–34 flush-at-end-of-method Subelements

Element 

Required 

Description 

method

one or more 

Specifies a bean method.