Hitachi

uCosminexus Application Server Compatibility Guide


8.12.40 @PersistenceContexts

Organization of this subsection

(1) Description

This annotation is specified when multiple @PersistenceContext are coded concurrently.

The applicable target is class.

(2) Element

The following table lists the elements of @PersistenceContexts:

Element name

Optional/Required

Element description

value

Required

This element specifies an array of @PersistenceContext.

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

(a) value element

Type

PersistenceContext[]

Description

This element specifies an array of @PersistenceContext.

You can specify the value within the specifiable range of the arrays of @PersistenceContext. For details, see 8.12.39 @PersistenceContext.

Default value

None