Administration Console Online Help

 Previous Next Contents Index  

 


Weblogic Query --> Configuration

Tasks     Additional Documentation     Attributes

Overview

Provides a way to associate Weblogic-specific attributes with a query. For example, weblogic-query can specify a query that contains a Weblogic-specific extension to the ejb-ql language.

For queries that retrieve entity beans, you can use weblogic-query to associate a field-group with the query and pre-load the query into the cache.

Tasks

Using the EJB Deployment Descriptor Editor

Additional Documentation

(Requires an Internet connection.)

Attributes

Attribute Label

Description

Value Constraints

Weblogic Ql

Specifies a query that contains weblogic specific extensions to the ejb-ql language. Queries that only use standard ejb-ql language features should be specified in the ejb-jar deployment descriptor.

Attribute: WeblogicQl

Configurable: yes

Readable: yes

Writable: yes

Group Name

Specifies the name of a field group. A field-group represents a subset of the cmp and cmr-fields of a bean. Related fields in a bean can be put into groups which are faulted into memory together as a unit.

Attribute: GroupName

Configurable: yes

Readable: yes

Writable: yes

Max Elements

Specifies the maximum number of elements that should be returned by a multi-valued query. This option is similar to the maxRows feature of JDBC. The default value of zero indicates there will be no limit on the number of elements returned.

Attribute: MaxElements

Default: 0

Configurable: yes

Readable: yes

Writable: yes

Include Updates

If you specify "True", the container flushes to disk all changes made by the current transaction before it executes the query. The default value is "False", which provides the best performance.

Attribute: IncludeUpdates

Default: false

Readable: yes

Writable: yes



 

Back to Top Previous Next