javaee:persistence-context-ref-name

The persistence-context-ref-name element specifies
the name of a persistence context reference; its
value is the environment entry name used in
Deployment Component code.  The name is a JNDI name
relative to the java:comp/env context.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xsd:ID optional

Source

<xsd:element name="persistence-context-ref-name" type="javaee:jndi-nameType">
  <xsd:annotation>
    <xsd:documentation>The persistence-context-ref-name element specifies the name of a persistence context reference; its value is the environment entry name used in Deployment Component code. The name is a JNDI name relative to the java:comp/env context.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

Sample