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

Add 'mappingLocations' to LocalContainerEntityManagerFactoryBean to scan any JPA mapping files (ORM.xml) in the classpath.

    Details

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

      Description

      Add 'mappingLocations' to LocalContainerEntityManagerFactoryBean for reading/scanning the JPA mapping files (ORM.xml) in the classpath. This will allow developers to write JPA queries and custom mappings in more modular approach. Developers can easily put the ORM.xml in the same package with the Entity class it relates to.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                juergen.hoeller Juergen Hoeller
                Reporter:
                fenrir Donny A. Wijaya
                Last updater:
                Juergen Hoeller
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 25 weeks, 3 days ago