new ReferenceDescriptor()
- Source:
Properties:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
mapping |
string | Describes Referenced Entity or ValueObject |
||
type |
Class |
<optional> |
Object | Referenced Entities or ValueObjects are instances of this type |
mappedBy |
string |
<optional> |
relation.name + _id | FK name |
identifies |
string |
<optional> |
identifiedBy | By default takes the identifiedBy column of referenced entity and applies discriminators |
orphanRemoval |
boolean |
<optional> |
false | Remove all orphans upon save/remove |
cascade |
boolean |
<optional> |
false | Save/remove objects of this relation |
saveSequential |
boolean |
<optional> |
false | Force sequential saving of this relation objects. |