Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-319

DataSourceDefinition(s) Processors incorrectly handle embedded @DataSourceDefinition annotations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.CR1
    • jboss-metadata-common-2.0.0-alpha-22
    • common
    • None
    • Low
    • Hide

      Deploy at Servlet with the @DataSourceDefinitions(

      {@DataSourceDefinition}

      ) annotations.

      Show
      Deploy at Servlet with the @DataSourceDefinitions( {@DataSourceDefinition} ) annotations.

    Description

      Currently the @DataSourceDefinition(s) processor does not handle embedded @DataSourceDefinition annotations. In the create method on DataSourceDefinitionProcessor, we look for the @DataSourceDefinition annotation. When contained within a @DataSourceDefinitions annotation, the individual definitions are never found and are not created.

      I have a fix for this, however, the meta data projects have changed since I last worked in this area. I am not sure about the commit/upgrade process in relation to AS6. Once I get clarification from someone who knows a bit more, I will commit my changes and close the issue. Note, there is a unit test within the test suite (DataSourceDeployerTestCase) that shows the issue.

      Attachments

        Issue Links

          Activity

            People

              weston.price Weston M. Price (Inactive)
              weston.price Weston M. Price (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: