[jboss-jira] [JBoss JIRA] Created: (JBMETA-271) PersistenceContext annotation processor creates incorrect targetname in ResourceInjectionTargetMetaData

jaikiran pai (JIRA) jira-events at lists.jboss.org
Mon Mar 22 14:32:38 EDT 2010


PersistenceContext annotation processor creates incorrect targetname in ResourceInjectionTargetMetaData
-------------------------------------------------------------------------------------------------------

                 Key: JBMETA-271
                 URL: https://jira.jboss.org/jira/browse/JBMETA-271
             Project: JBoss Metadata
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: common
    Affects Versions: jboss-metadata-common-2.0.0-alpha-14
            Reporter: jaikiran pai
            Assignee: jaikiran pai
             Fix For: jboss-metadata-common-2.0.0-alpha-15


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".


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list