Use eclipselink.persistence-context.commit-without-persist-rules
to specify if the EntityManager will search all managed objects and persist any related non-managed new objects that are found ignoring any absence of CascadeType.PERSIST
settings.
Values
Table 5-77 describes this persistence property's values.
Table 5-77 Valid Values for persistence-context.commit-without-persist-rules
Value | Description |
---|---|
|
|
|
(Default) |
Usage
When set to true, Entity life-cycle Persist
operation will not be cascaded to related entities. This replicates the traditional EclipseLink native functionality.
Examples
See Also
For more information, see: