uCosminexus Application Server, API Reference Guide

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

2.7.40 @PersistenceContexts

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

(1) Description

This annotation is specified when multiple @PersistenceContexts 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 2.7.39 @PersistenceContext.

Default value
None