validate-existence

Use the eclipselink.validate-existence persistence property configures to specify if TopLink 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

TopLink verifies the object's existence.

false

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


Usage

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

Examples

See Also

For more information, see: