OpenJPA
  1. OpenJPA
  2. OPENJPA-305

Dynamic configuration of EntityManagerFactory

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0, 1.2.0
    • Component/s: None
    • Labels:
      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.

        Issue Links

          Activity

          Pinaki Poddar created issue -
          Patrick Linskey made changes -
          Field Original Value New Value
          Link This issue is duplicated by OPENJPA-307 [ OPENJPA-307 ]
          Pinaki Poddar made changes -
          Attachment openjpa-305.patch.1.txt [ 12366138 ]
          Pinaki Poddar made changes -
          Assignee Pinaki Poddar [ ppoddar@apache.org ]
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.2.0 [ 12313102 ]
          Fix Version/s 1.1.0 [ 12312344 ]
          Resolution Fixed [ 1 ]
          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Pinaki Poddar
              Reporter:
              Pinaki Poddar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development