Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1795

Allow persistence descriptors other than META-INF/persistence.xml for OpenJPA tools

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 2.1.0
    • None
    • tooling
    • None
    • All

    Description

      OSGi persistence bundles allow JPA persistence descriptors to be in locations other than META-INF, and has no restriction on the name of the xml file. It would therefore be much easier to use the OpenJPA tools (for example the enhancer, mapping tool, etc) if they allowed a configuration parameter specifying the name and location of the persistence descriptor (for example OSGI-INF/jpa.xml).

      The current default would not need to be changed, but a configuration parameter would allow for the tools to be used much more easily in OSGi application development.

      Attachments

        Activity

          People

            kwsutter Kevin W. Sutter
            timothyjward Timothy James Ward
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: