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

Adding a slice dynamically should be done via persistence unit only

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.2, 2.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Current support for adding a new Slice dynamically exists at three places

      DistributedBrokerFactory.addSlice(String name, Map properties)
      DistributedConfiguration.addSlice(String name, Map properties)
      DistributedBroker.addSlice(String name, Map properties)

      This is confusing. A new slice should only be added via DistributedBrokerFactory.

        Activity

        Hide
        mikedd Michael Dick added a comment -

        Closing issues which have code changes and have not been modified for a while.

        If there is more work to be done for this issue please check whether it has already been included in an OpenJPA release.

        If the changes are in an OpenJPA release please open a new issue and link to this one.

        If the changes are not in an OpenJPA release you may reopen this issue or create a new issue.

        Show
        mikedd Michael Dick added a comment - Closing issues which have code changes and have not been modified for a while. If there is more work to be done for this issue please check whether it has already been included in an OpenJPA release. If the changes are in an OpenJPA release please open a new issue and link to this one. If the changes are not in an OpenJPA release you may reopen this issue or create a new issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development