[jboss-jira] [JBoss JIRA] Commented: (AS7-789) JPA subsystem: empty default DS

Scott Marlow (JIRA) jira-events at lists.jboss.org
Mon May 16 09:33:00 EDT 2011


    [ https://issues.jboss.org/browse/AS7-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602270#comment-12602270 ] 

Scott Marlow commented on AS7-789:
----------------------------------

The default is an empty value.  We talked about defaulting to "java:/H2DS" and could still do that.  There was concern about using the demo datasource.  If it helps, we could use a different default.  Something like "java:/DefaultDS".  


> 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