Skip Headers

# Configuring Descriptor Alias

Previous

Next

Use the descriptor alias to specify the value of the `ejb-jar.xml` attribute `abstract-schema-name`. This is the logical name that is referenced in EJB QL queries. You should configure a descriptor alias for each entity bean with container-managed persistence. The descriptor alias defaults to the class name.

Descriptor alias only applies in projects where you configure the persistence type (see "Configuring Persistence Type") to use EJB.

Table: Descriptor Support for Descriptor Alias Configuration summarizes which descriptors support descriptor alias configuration.

Descriptor Support for Descriptor Alias Configuration

Descriptor | Using TopLink Workbench | Using Java
--- | --- | ---
Relational Descriptors |  |
Object-Relational Descriptors |  |
EIS DescriptorsFoot 1 |  |
XML Descriptors |  |

Footnote 1 EIS root descriptors only (see "EIS Root Descriptors").

For more information, see the following:

- "ejb-jar.xml File"

- "EJB Finders"