Advanced

Use the Advanced area in the JPA Details view to configure additional settings for an entity.

Property Description Default Available for Entity Type

Read-only

Specifies if a class is read-only.

False

Entity and Mapped superclass

Customizer class

Specifies a class that implements DescriptorCustomizer and is to run against an entity's class descriptor after all metadata processing has been completed.

True

Entity, Embeddable, and Mapped superclass

Change tracking

Specifies the ObjectChangePolicy to use:

  • Attribute – Objects with changed attributes will be processed in the commit process to include any changes in the results of the commit. Unchanged objects will be ignored.

  • Object – Changed objects will be processed in the commit process to include any changes in the results of the commit. Unchanged objects will be ignored.

  • Deferred – Defers all change detection to the UnitOfWork's change detection process.

  • Auto – Does not set any change tracking policy; change tracking will be determined at runtime.

Auto

Entity, Embeddable, and Mapped superclass


Related reference