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.
- blocks
-
JBAS-8559 Create DataSource out of Java EE6 spec specified @DataSourceDefinition and its XML deployment descriptor equivalent
- Closed