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

Allow slice distribution policy to delay the decision to select the target slice

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: slice
    • Labels:
      None

      Description

      Distribution Policy was designed to determined the target slice when an instance enters the managed life-cycle. If an instance determines its target slice based on its related instances then these relations may not be assigned at the time of persist(). Hence this change will allow the distribution policy to delay this decision until the instance is being actually flushed to the datastore (as by then all relations should be assigned).

        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: