@ejb.persistence

Scope: Class

Multiplicity

(0..1): You can use this tag zero or one time in the Java™ source file.

Purpose

This tag provides information about the persistence of a Container-managed Persistence (CMP) entity bean. Applies to CMP entity beans.

Parameters

Parameter Type Applicability Description Mandatory
table-name text   Declares the table that the CMP will be mapped to. If the parameter table-name is not specified, the name of the class will be used, and the container will then create the tables. false
read-only boolean   Configures a bean as read only. Many application servers can optimize access to such beans (for example, provide better caching and bypass checks for changes.) false
Related reference
@ejb.bean
@ejb.create-method
@ejb.ejb-external-ref
@ejb.ejb-ref
@ejb.env-entry
@ejb.facade
@ejb.facade-method
@ejb.finder
@ejb.home
@ejb.home-method
@ejb.interface
@ejb.interface-method
@ejb.permission
@ejb.persistence (method)
@ejb.pk
@ejb.pk-field
@ejb.relation
@ejb.remote-facade
@ejb.resource-env-ref
@ejb.resource-ref
@ejb.security-identity
@ejb.security-role-ref
@ejb.select
@ejb.session
@ejb.transaction
@ejb.util
@ejb.value-object
@ejb.value-object-method
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.