-
Bug
-
Resolution: Done
-
Major
-
jboss-metadata-common-2.0.0-alpha-14
-
None
For the following bean:
public class MyBean
{
@PersistenceContext (name = "emENCName")
private EntityManager emFieldName;
...
}
The (Abstract)PersistenceContextProcessor creates a ResourceInjectionTargetMetaData with (correct) targetClass MyBean and (incorrect) targetName "emENCName". The targetName should actually be "emFieldName".