@Documented @Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface OneToMany
Modifier and Type | Optional Element and Description |
---|---|
CascadeAction[] |
cascade |
String |
mappedBy |
public abstract String mappedBy
public abstract CascadeAction[] cascade
CascadeAction
actions to take when the entity containing this
reference is persisted/deleted. Defaults to CascadeAction.SAVE
.