2.7.43 @PersistenceUnits

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

(1) Description

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

The applicable target is class.

(2) Element

The following table lists the elements of @PersistenceUnits:

Element nameOptional/RequiredElement description
valueRequiredThis 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 2.7.42 @PersistenceUnit.
Default value
None