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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0, 1.2.1, 1.3.0, 2.0.0-M2
    • 1.0.4, 1.2.2, 1.3.0, 2.0.0-M2
    • datacache
    • 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.

      Attachments

        Activity

          People

            mikedd Michael Dick
            mikedd Michael Dick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: