Loading
Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.4
  Go To Table Of Contents
Contents
 Search
Other Searches
 PDF
PDF
Comments
Comments


validate-existence

Use the eclipselink.validate-existence persistence property configures to specify if EclipseLink should verify an object's existence on persist().


Values

Table 5-92 describes this persistence property's values.

Table 5-92 Valid Values for validate-existence

Value Description

true

EclipseLink verifies the object's existence.

false

(Default) EclipseLink assumes the object is new, if it is not in the persistence context.



Usage

EclipseLink will throw an error if a validated object is not in the persistence context.


Examples


See Also

For more information, see:

Comments powered by Disqus