Element Collection Mapping

Property Description Default

Target class

The class (basic or embeddable) that is the element type of the collection.


Defines how data is loaded from the database:

  • Eager – Data is loaded in before it is actually needed.

  • Lazy – Data is loaded only when required by the transaction.


Join fetch

The type of fetch to use:

  • Inner – Provides the inner join fetching of the related object.

    Note: Inner joining does not allow for null or empty values

  • Outer – Provides the outer join fetching of the related object

    Note: Outer joining allows for null or empty values.


Collection Table


Name of the database table used for the mapping.


Database schema of the Collection Table.


Database Catalog of the Collection Table.

Join Columns

Override default

Click Add to create a new join column, by using the Add Join Column dialog.


Element collection mappings also include the following areas: