-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 4.0.0.Beta4
-
Fix Version/s: 4.1.0.Final
-
Component/s: Rules API
-
Labels:None
-
Sprint:Sprint 38
-
Git Pull Request:
With such annotations:
@DataSourceDefinitions({ |
@DataSourceDefinition( |
name = "jdbc/multiple-ds-xa", |
),
|
@DataSourceDefinition( |
name = "jdbc/multiple-ds-non-xa", |
),
|
})
|
the rule
<javaclass references="javax.annotation.sql.DataSourceDefinitions" > |
<location>ANNOTATION</location> |
<annotation-list> |
<annotation-type pattern="javax.annotation.sql.DataSourceDefinition" /> |
</annotation-list> |
</javaclass> |
fails because it doesn't have the name attribute in <annotation-list> tag even if there's no list name in the Java code.