Hitachi

uCosminexus Application Server Compatibility Guide


8.12.14 @EntityListeners

Organization of this subsection

(1) Description

This annotation specifies the callback listener class used in the entity class or mapped superclass.

The applicable target is class.

(2) Element

The following table lists the elements of @EntityListeners:

Element name

Optional/Required

Element description

value

Required

This element specifies the callback listener class.

The details of attributes that are supported with Cosminexus JPA provider are as follows:

(a) value element

Type

Class[]

Description

This element specifies the callback listener class.

The value that can be specified is class.

Default value

None