Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-1063

Pick up the entity-manager-factory definition to avoid validation errors

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • 2.0.0.CR1
    • 2.0.0.Beta4
    • seam2
    • None

      In components xml the #

      {rtEntityManagerFactory} get's validated as an error in the following:

      <core:managed-persistence-context name="entityManager"
      auto-create="true"
      entity-manager-factory="#{rtEntityManagerFactory}

      "/>

      It seems that if we would pick up this one as the definition of the factory then we would be fine:

      <core:entity-manager-factory name="rtEntityManagerFactory"
      persistence-unit-name="rt"/>

      Is that doable in the current setup ?

              scabanovich Viacheslav Kabanovich (Inactive)
              manderse@redhat.com Max Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: