OpenJPA
  1. OpenJPA
  2. OPENJPA-1763

Remove the requirement to configure openjpa.RemoteCommitProvider when using the DataCache

    Details

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

      Description

      I've been annoyed for quite some time that when I want to use the DataCache I need to configure it in two steps. One to turn on the DataCache(obviously), and the second is to enable a RemoteCommitProvider.
      <property name="openjpa.DataCache" value="true(CacheSize=10000)"/>
      <property name="openjpa.RemoteCommitProvider" value="sjvm" />

      With this JIRA I'm proposing that when the DataCache is enabled we auto configure the sjvm RCP if there isn't one already there.

        Activity

        Hide
        Rick Curtis added a comment -

        Shouldn't have resolved yet. Reopened while I work on the docs.

        Show
        Rick Curtis added a comment - Shouldn't have resolved yet. Reopened while I work on the docs.
        Hide
        Rick Curtis added a comment -

        Committed the code change to trunk. Still need to update the user manual.

        Show
        Rick Curtis added a comment - Committed the code change to trunk. Still need to update the user manual.
        Hide
        Donald Woods added a comment -

        +1 Sounds like a good usability improvement.

        Show
        Donald Woods added a comment - +1 Sounds like a good usability improvement.
        Hide
        Jeremy Bauer added a comment -

        +1 While this requirement makes it very clear that the cache can be distributed, it complicates configuration for the simple and probably most common case. If this can be done without breaking product derivations and such, I think we should do it.

        Show
        Jeremy Bauer added a comment - +1 While this requirement makes it very clear that the cache can be distributed, it complicates configuration for the simple and probably most common case. If this can be done without breaking product derivations and such, I think we should do it.

          People

          • Assignee:
            Rick Curtis
            Reporter:
            Rick Curtis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development