Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.5
  Go To Table Of Contents
 Search
 PDFComments
Comments


persistence-context.commit-without-persist-rules

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

true


false

(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: