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 is mapped to.
If the parameter table-name is not specified,
the name of the class is used, and the container then creates 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 |