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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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
        curtisr7 Rick Curtis added a comment -

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

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

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

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

        +1 Sounds like a good usability improvement.

        Show
        drwoods Donald Woods added a comment - +1 Sounds like a good usability improvement.
        Hide
        techhusky 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
        techhusky 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:
            curtisr7 Rick Curtis
            Reporter:
            curtisr7 Rick Curtis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development