Property | Description | Default |
---|---|---|
Target entity |
The persistent entity to which the attribute is mapped. You do not need to explicitly specify the target entity, since it can be inferred from the type of object being referenced. |
null |
Fetch |
Defines how data is loaded from the database:
|
Lazy |
Join fetch |
The type of fetch to use:
|
|
Optional |
Specifies if this field is can be null. |
True |
Cascade |
Specify which operations are propagated throughout the entity.
|
True |
Many-to-one mappings also include the following areas: