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

PersistenceContext annotation processor creates incorrect targetname in ResourceInjectionTargetMetaData

XMLWordPrintable

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

              jaikiran Jaikiran Pai (Inactive)
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: