Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-8925

DefaultPersistenceUnitManager must not reject multiple PersistenceUnits with the same name eagerly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 3.1 GA
    • Fix Version/s: 3.1.1
    • Component/s: Data
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Commit 4482 introduced a snippet of code in preparePersistenceUnitInfos() that rejects PersistenceUnit instances with the very same name although the call to postProcessPersistenceUnitInfo(...) might have handled that case correctly. We rely on this behavior with Spring Data JPAs MergingPersistenceUnitManager and got reports (DATAJPA-138) claiming it's not working with Spring 3.1.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                juergen.hoeller Juergen Hoeller
                Reporter:
                olivergierke Oliver Gierke
                Last updater:
                Trevor Marshall
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 23 weeks, 1 day ago