]
Scott Marlow commented on AS7-789:
----------------------------------
Changed to "optional"
<xs:schema
targetNamespace="urn:jboss:domain:jpa:1.0"
xmlns="urn:jboss:domain:jpa:1.0"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="1.0">
<!-- The managedbean subsystem root element -->
<xs:element name="subsystem" type="subsystem"/>
<xs:complexType name="subsystem">
<xs:sequence>
<xs:element name="jpa" type="jpa-config"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="jpa-config">
<xs:attribute name="default-datasource"
use="optional"/>
</xs:complexType>
</xs:schema>
JPA subsystem: empty default DS
-------------------------------
Key: AS7-789
URL:
https://issues.jboss.org/browse/AS7-789
Project: Application Server 7
Issue Type: Bug
Reporter: Heiko Rupp
Assignee: Scott Marlow
Resource description for the JPA subsystem says
default-datasource is required
[domain@localhost:9999 subsystem=jpa]
:read-resource-description(include-runtime=true,recursive=true)
{
"outcome" => "success",
"result" => {
"description" => "The configuration of the JPA
subsystem.",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"namespace" => "urn:jboss:domain:jpa:1.0",
"attributes" => {"default-datasource" => {
"description" => "The name of the default global
datasource.",
"type" => STRING,
"required" => true,
"min-length" => 0,
"access-type" => "read-write",
"storage" => "configuration"
}},
"operations" => undefined,
"children" => undefined
},
"compensating-operation" => undefined
}
But reading the resource shows an empty value
This looks wrong, as an empty value is for sure no valid data source name.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: