OpenJPA
  1. OpenJPA
  2. OPENJPA-1045

Add opt-in and opt-out configuration for L2 DataCache

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.2.1, 1.3.0, 2.0.0-M2
    • Fix Version/s: 1.0.4, 1.2.2, 1.3.0, 2.0.0-M2
    • Component/s: datacache
    • Labels:
      None

      Description

      The L2 Cache used by OpenJPA is includes all available entities by default. The only way to exclude an entity is to modify the entity source code to include the @DataCache annotation and set the value to false.

      Recent drafts of the JPA specification v2.0 define the expected behavior (opt-in, opt-out, etc) some updates may need to be made to ensure compliance when the spec finalizes.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Michael Dick
            Reporter:
            Michael Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development