bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Administration Console Online Help

Finder --> Configuration

Tasks Additional Documentation Attributes

Overview

The Finder tab describes a particular finder method that is defined in the home interface.

The container uses the information that you provide on this tab to identify the finder method in the home interface and to perform the database operations necessary to produce the desired results.

The list of parameters on this tab must match the type and sequence of parameters in the home interface's finder method.

Tasks

Using the EJB Deployment Descriptor Editor

Additional Documentation

(Requires an Internet connection.)

Attributes

Attribute Label | Description | Value Constraints
--- | --- | ---
Finder Name | The name of the finder method in the home interface. This value must specify the whole name of the method. Attribute: FinderName | Configurable: yes Readable: yes Writable: yes
Finder Params | The fully-qualified name of the Class object that identifies the finder's parameter type. The type name is evaluated into a java.lang.Class object, and the resultant object must match the respective parameter in the EJB's finder method. You can specify primitive parameters using their primitive names (such as "double" or "int"). If you use a non-primitive data type in a method-param element, you must specify a fully qualified name. Attribute: FinderParams | Configurable: yes Readable: yes Writable: yes
Finder Query | A raw SQL string to us for this finder instead of the standard EJB QL query. Any amount of vendor specific SQL may be used. If you use characters that might confuse an XML parser (such as the > and < characters) you must declare your query using the CDATA form. Attribute: FinderQuery | Configurable: yes Readable: yes Writable: yes
Find For Update | (Optional) If you specify "true", WebLogic Server generates a SELECT...FOR UPDATE for the finder method, which causes the finder method to acquire a write lock on the database row. Specify "true" only if you use a database type that supports SELECT...FOR UPDATE, such as Oracle. If you do not specify this value, WebLogic Server assumes "false". Attribute: FindForUpdate | Default: false Readable: yes Writable: yes