## Provided Capabilities (1)

Name | Dynamic | Other provider points
--- | --- | ---
org.wildfly.jpa | false | none

## Attributes (2)

- default-datasource - The name of the default global datasource.

  Type | STRING
  Is the attribute nillable? | true
  Does the attribute allow expression? | true
  Where is the attribute stored? | configuration
  Access Type | read-write
  Is restarted required? | all-services
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "STRING"
          },
          "description" : "The name of the default global datasource.",
          "expressions-allowed" : true,
          "required" : false,
          "nillable" : true,
          "min-length" : 0,
          "max-length" : 2147483647,
          "stability" : "default",
          "access-type" : "read-write",
          "storage" : "configuration",
          "restart-required" : "all-services",
          "capability-reference" : null
      }

- default-extended-persistence-inheritance - Controls how Jakarta Persistence extended persistence context (XPC) inheritance is performed. 'DEEP' shares the extended persistence context at top bean level. 'SHALLOW' the extended persistece context is only shared with the parent bean (never with sibling beans).

  Type | STRING
  Default Value | DEEP
  Is the attribute nillable? | true
  Does the attribute allow expression? | true
  Where is the attribute stored? | configuration
  Access Type | read-write
  Is restarted required? | all-services
  Allowed Values | DEEP SHALLOW
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "STRING"
          },
          "description" : "Controls how Jakarta Persistence extended persistence context (XPC) inheritance is performed. 'DEEP' shares the extended persistence context at top bean level.  'SHALLOW' the extended persistece context is only shared with the parent bean (never with sibling beans).",
          "expressions-allowed" : true,
          "required" : false,
          "nillable" : true,
          "default" : "DEEP",
          "allowed" : [
              "DEEP",
              "SHALLOW"
          ],
          "stability" : "default",
          "access-type" : "read-write",
          "storage" : "configuration",
          "restart-required" : "all-services",
          "capability-reference" : null
      }

## Operations (2)

- add - Add the Jakarta Persistence subsystem.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  default-datasource | STRING | false | true |  | The name of the default global datasource.
  default-extended-persistence-inheritance | STRING | false | true | DEEP | Controls how Jakarta Persistence extended persistence context (XPC) inheritance is performed. 'DEEP' shares the extended persistence context at top bean level. 'SHALLOW' the extended persistece context is only shared with the parent bean (never with sibling beans).

  Raw DMR model |
      {
          "operation-name" : "add",
          "description" : "Add the Jakarta Persistence subsystem.",
          "request-properties" : {
              "default-datasource" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "STRING"
                  },
                  "description" : "The name of the default global datasource.",
                  "expressions-allowed" : true,
                  "required" : false,
                  "nillable" : true,
                  "min-length" : 0,
                  "max-length" : 2147483647,
                  "stability" : "default"
              },
              "default-extended-persistence-inheritance" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "STRING"
                  },
                  "description" : "Controls how Jakarta Persistence extended persistence context (XPC) inheritance is performed. 'DEEP' shares the extended persistence context at top bean level.  'SHALLOW' the extended persistece context is only shared with the parent bean (never with sibling beans).",
                  "expressions-allowed" : true,
                  "required" : false,
                  "nillable" : true,
                  "default" : "DEEP",
                  "allowed" : [
                      "DEEP",
                      "SHALLOW"
                  ],
                  "stability" : "default"
              }
          },
          "reply-properties" : {},
          "stability" : "default",
          "read-only" : false,
          "runtime-only" : false
      }

- remove - Remove the Jakarta Persistence subsystem.

  Raw DMR model |
      {
          "operation-name" : "remove",
          "description" : "Remove the Jakarta Persistence subsystem.",
          "request-properties" : {},
          "reply-properties" : {},
          "stability" : "default",
          "read-only" : false,
          "restart-required" : "all-services",
          "runtime-only" : false
      }

## Galleon Features

Galleon features are to be used when creating Galleon feature-packs.

- subsystem.jpa

      <feature spec="subsystem.jpa">
        <param name="default-datasource" value="{value}"/>
        <param name="default-extended-persistence-inheritance" value="{value}"/>
      <feature/>