[jboss-jira] [JBoss JIRA] Commented: (AS7-789) JPA subsystem: empty default DS
Scott Marlow (JIRA)
jira-events at lists.jboss.org
Mon May 16 10:11:00 EDT 2011
[ https://issues.jboss.org/browse/AS7-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602284#comment-12602284 ]
Scott Marlow commented on AS7-789:
----------------------------------
Changed to "optional"
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
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 at 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: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list