Hitachi

uCosminexus Application Server Compatibility Guide


8.12.43 @PersistenceUnits

Organization of this subsection

(1) Description

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

The applicable target is class.

(2) Element

The following table lists the elements of @PersistenceUnits:

Element name

Optional/Required

Element description

value

Required

This element specifies the arrays of @PersistenceUnit.

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

(a) value element

Type

PersistenceUnit[]

Description

This element specifies the arrays of @PersistenceUnit.

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

Default value

None