Sun GlassFish Enterprise Server 2.1 Application Deployment Guide

prefetch-disabled

Disables prefetching of entity bean states for the specified query methods. Container-managed relationship fields are prefetched if their fetched-with element is set to default.

Superelements

cmp (sun-ejb-jar.xml)

Subelements

The following table describes subelements for the prefetch-disabled element.

Table A–83 prefetch-disabled Subelements

Element 

Required 

Description 

query-method

one or more 

Specifies a query method.