Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2548

Check for name in <mapping-file> before adding to CMP persistence unit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.5, 7.0.6, 7.1.1, 8.0.0-M3
    • 7.0.7, 7.1.2, 8.0.1
    • None
    • None

    Description

      If a user provides an archive with a META-INF/openejb-cmp-generated-orm.xml file, and the application defined EJB2 CMP beans, a further openejb-cmp-generated-orm.xml file in a duplicate <mapping-file> entry will be added, which can cause issues with (non-OpenJPA) providers.

      Attachments

        Activity

          People

            jgallimore Jonathan Gallimore
            jgallimore Jonathan Gallimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: