2.7.41 @PersistenceProperty

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

(1) Description

This annotation sets up properties in the container-managed EntityManager .

Currently, no properties can be used.

The applicable target is the properties element of @PersistenceContext.

(2) Element

The following table lists the elements of @PersistenceProperty:

Element nameOptional/RequiredElement description
nameRequiredThis element specifies the name of the property.
valueRequiredThis element specifies the value of the property.

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

(a) name element
Type
String
Description
This element specifies the name of the property.
Default value
None
(b) value element
Type
String
Description
This element specifies the value of the property.
You can specify the value depends on the specifications of the properties specified in the name element.
Default value
None