Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-579

Persistenceunit refs with no name should get resolved to a unique persistence unit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.7.0
    • deployment
    • None

    Description

      Apparently if there's only one persistence unit in a an ear a persistence unit ref doesn't need a name and should get resolved anyway. So the LinkResolver for EntityManagerFactories should look for null name and return the unique possibility if it exists.

      Attachments

        Activity

          People

            djencks David Jencks
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: