Element Collection Mapping

Property Description Default

Target class

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


Fetch

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.

Lazy

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.

None

Collection Table



Name

Name of the database table used for the mapping.


Schema

Database schema of the Collection Table.


Catalog

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.

0


Element collection mappings also include the following areas: