uCosminexus Application Server, API Reference Guide

[Contents][Index][Back][Next]

2.7.14 @EntityListeners

Organization of this subsection
(1) Description
(2) Element

(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