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 |