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

Dynamic configuration of EntityManagerFactory

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0, 1.2.0
    • None
    • None

    Description

      OpenJPA configures EntityManagerFactory at creation time via an instance of Configuartion object. Once EntityManagerFactory is created and a EntityManager is issued from it – the Configuration is frozen by design. That is no further changes to Configuration is allowed as long as EntityManagerFactory lives.

      For certain configuration properties, it is desirable to change them during the lifetime of a EntityManagerFactory.
      This issue is raised to initiate a discussion on such a feature, the possibility and limitations of dynamic update and track the impact of such a change as frozen Configuration is an important assumption.

      Attachments

        1. openjpa-305.patch.1.txt
          7 kB
          Pinaki Poddar

        Issue Links

          Activity

            People

              ppoddar@apache.org Pinaki Poddar
              ppoddar@apache.org Pinaki Poddar
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: