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.

        Attachments

          Activity

            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: