[ https://issues.apache.org/jira/browse/OPENJPA-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick closed OPENJPA-1045. --------------------------------- Resolution: Fixed Fix Version/s: 1.0.4 > Add opt-in and opt-out configuration for L2 DataCache > ----------------------------------------------------- > > Key: OPENJPA-1045 > URL: https://issues.apache.org/jira/browse/OPENJPA-1045 > Project: OpenJPA > Issue Type: Improvement > Components: datacache > Affects Versions: 1.2.0, 1.2.1, 1.3.0, 2.0.0 > Reporter: Michael Dick > Assignee: Michael Dick > Fix For: 1.0.4, 1.2.2, 1.3.0, 2.0.0 > > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.